don't understand for a package

2014-05-21 Thread Yonghua Peng
Hello members, I run this command to install Starman webserver working along with Dancer. $ sudo cpanm Starman This run successfully. Then I take a look at the source of Starman, found it has only 6 lines code: package Starman; use strict; use 5.008_001; our $VERSION = '0.4009'; 1; __END__

Re: don't understand for a package

2014-05-21 Thread Hao Wu
I think Starman.pm is for document and version only. follow the code here. https://metacpan.org/source/MIYAGAWA/Starman-0.4009/script/starman#L18 https://metacpan.org/source/MIYAGAWA/Plack-1.0030/lib/Plack/Runner.pm https://metacpan.org/source/MIYAGAWA/Plack-1.0030/lib/Plack/Loader.pm#L41

Re[2]: don't understand for a package

2014-05-21 Thread Yonghua Peng
OK I see. Thanks for the guide.  Wed, 21 May 2014 20:24:25 -0700 from Hao Wu h...@intellisurvey.com: I think Starman.pm is for document and version only. follow the code here. https://metacpan.org/source/MIYAGAWA/Starman-0.4009/script/starman#L18