Re[3]: CPAN unavailable

2014-05-20 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 : >I probably meant search.cpan.org

Re: CPAN unavailable

2014-05-20 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 Unav

Re: CPAN unavailable

2014-05-20 Thread Shlomi Fish
Hi all, On Wed, 21 May 2014 11:49:17 +1000 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 be always availabl

Re: find specific line from file

2014-05-20 Thread Jim Gibson
Benjamin: Please post messages to the list, not individual members. On May 20, 2014, at 6:51 PM, Benjamin Fernandis wrote: > Hey Jim, > > I tried to use while loop to read file line by line, but facing problem to > get exact phrase or a way to start reading from predefined partition name and

Re: CPAN unavailable

2014-05-20 Thread sisyphus1
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 be always available. Cheers, Rob -- To unsubscribe, e-mail: beginners-unsubscr..

Re: CPAN unavailable

2014-05-20 Thread Jim Gibson
On May 20, 2014, at 6:41 PM, Yonghua Peng wrote: > I probably meant search.cpan.org doesn't work. Try picking a different mirror. These are the ones I am using: http://httpupdate35.cpanel.net/CPAN/ http://mirrors.gossamer-threads.com/CPAN/ http://cpan.cs.utah.edu/ -- To unsubscribe, e-mail:

Re: find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi peter, i can see it clearly. Regards Ben On Wed, May 21, 2014 at 11:29 PM, Peter Gordon wrote: > On Wed, 21 May 2014 11:19:36 +1200, Benjamin Fernandis wrote: > >Hi, > > > >I want to fetch rawuuid from below file for each partition name. > > > > > >I tried to use while loop and all but no l

Re[2]: CPAN unavailable

2014-05-20 Thread Yonghua Peng
I probably meant search.cpan.org doesn't work. $ sudo cpanm Dancer --> Working on Dancer Fetching http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Dancer-1.3124.tar.gz ... FAIL ! Download http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Dancer-1.3124.tar.gz failed. Retrying ... ! Download

CPAN unavailable

2014-05-20 Thread Yonghua Peng
Hello, Do you know why these days cpan.org has been unavailable? I always got: 503 Service Unavailable No server is available to handle this request. Thanks. 

Re: find specific line from file

2014-05-20 Thread Jim Gibson
On May 20, 2014, at 4:19 PM, Benjamin Fernandis wrote: > Hi, > > I want to fetch rawuuid from below file for each partition name. > > I tried to use while loop and all but no luck. > > example : partition name : ada0p2 > rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a > file :

find specific line from file

2014-05-20 Thread Benjamin Fernandis
Hi, I want to fetch rawuuid from below file for each partition name. I tried to use while loop and all but no luck. example : partition name : ada0p2 rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a file : Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last:

Re: suppress the warnings output

2014-05-20 Thread 'lesleyb'
On Tue, May 20, 2014 at 01:51:44PM +0400, Yonghua Peng wrote: > Hi, > > I have resolved the problem by adding a PrintError => 0 when creating the > $dbh object. > > my $success = try { >      $dbh = DBI->connect("dbi:mysql:database=$db;host=$host;port=$port", > $user, $passwd, {RaiseError=>1,P

Re: Best way to distribute Perl utility packed with Fatpacker

2014-05-20 Thread Shlomi Fish
Hi Chankey, On Tue, 20 May 2014 15:12:07 +0530 Chankey Pathak wrote: > The wiki link is not working Shlomi: http://perl.net.au/wiki/Beginners > Thanks for reporting it. I was aware of it, but didn't bother to correct it. I'll get to it soon. Regards, Shlomi Fish > > On Tue, May 20

Re: suppress the warnings output

2014-05-20 Thread Yonghua Peng
Hi, I have resolved the problem by adding a PrintError => 0 when creating the $dbh object. my $success = try {      $dbh = DBI->connect("dbi:mysql:database=$db;host=$host;port=$port", $user, $passwd, {RaiseError=>1,PrintError=>0} ) or croak $DBI::errstr;     1; } catch {     _write_log($_);  

Re: Best way to distribute Perl utility packed with Fatpacker

2014-05-20 Thread Chankey Pathak
The wiki link is not working Shlomi: http://perl.net.au/wiki/Beginners On Tue, May 20, 2014 at 3:06 PM, Shlomi Fish wrote: > Hi Ken, > > sorry for the late response. > > On Sat, 17 May 2014 18:40:23 +0800 > Ken Peng wrote: > > > Greetings Shlomi, > > > > I am happy to see you have wrote a lot

Re: Best way to distribute Perl utility packed with Fatpacker

2014-05-20 Thread Shlomi Fish
Hi Ken, sorry for the late response. On Sat, 17 May 2014 18:40:23 +0800 Ken Peng wrote: > Greetings Shlomi, > > I am happy to see you have wrote a lot of articles for perl beginners. > Thanks. > You're welcome, and I'm glad you like them. If you're interested in helping, then see http://per