Re: CPAN unavailable

2014-05-21 Thread Shlomi Fish
Hi all, On Wed, 21 May 2014 11:49:17 +1000 sisyph...@optusnet.com.au wrote: From: Yonghua Peng Do you know why these days cpan.org has been unavailable? I don't know why, but it has been down (often for lengthy periods) quite a bit lately. Thankfully, https://metacpan.org seems to

Re: CPAN unavailable

2014-05-21 Thread Mike
I would recommend using http://metacpan.org And for installing modules, you could try cpanminus: curl -L http://cpanmin.us | perl - --sudo App::cpanminu On 5/20/14, 8:22 PM, Yonghua Peng wrote: Hello, Do you know why these days cpan.org has been unavailable? I always got: 503 Service

Re[3]: CPAN unavailable

2014-05-21 Thread Yonghua Peng
Hi Members, I know cpan.org the main site, and metacpan.org work fine. But cpanm works with search.cpan.org, as the info you see in my precious message. So how to make cpanm work with metacpan.org? Thanks.  Wed, 21 May 2014 05:41:19 +0400 from Yonghua Peng sys...@mail2000.us: I probably

Re: CPAN unavailable

2014-05-21 Thread Octavian Rasnita
From: Shlomi Fish shlo...@shlomifish.orgHi all, On Wed, 21 May 2014 11:49:17 +1000 sisyph...@optusnet.com.au wrote: From: Yonghua Peng Do you know why these days cpan.org has been unavailable? I don't know why, but it has been down (often for lengthy periods) quite a bit lately.

No Lines are Breakable.

2014-05-21 Thread Martin G. McCormick
I have a large perl script that checks clean when running perl -c scriptname. It also executes when called without throwing error messages but suddenly, any line I give it while in the debugger initially reports Line [any_number] not breakable. I can load the script with perl -d

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