Re: $# is no longer supported

2011-09-20 Thread Leo Lapworth
Hi, On 20 September 2011 16:50, Uri Guttman wrote: > > "DJ" == David Jacopille writes: > > DJ> I get a warning "$# is no longer supported". The program does > DJ> continue. > > DJ> Apparently $# and $* were deprecated in regular expression context > DJ> and that error message exactly i

Re: $# is no longer supported

2011-09-20 Thread Uri Guttman
> "DJ" == David Jacopille writes: DJ> To get highest index number on an array you use: DJ> $#array DJ> Doing this on an arrayref: DJ> $#{arrayref} that is a bareword and not an array ref. so perl is parsing $# as the deprecated builtin variable DJ> I get a warning "$# is no

Re: $# is no longer supported

2011-09-20 Thread Shawn H Corey
On 11-09-20 11:38 AM, David Jacopille wrote: To get highest index number on an array you use: $#array Doing this on an arrayref: $#{arrayref} Try: $#{$arrayref} I get a warning "$# is no longer supported". The program does continue. Apparently $# and $* were deprecat

$# is no longer supported

2011-09-20 Thread David Jacopille
To get highest index number on an array you use: $#array Doing this on an arrayref: $#{arrayref} I get a warning "$# is no longer supported". The program does continue. Apparently $# and $* were deprecated in regular expression context and that error message exactly is docume

Re: Can't use string ("1") as a HASH ref while "strict refs"

2011-09-20 Thread Randal L. Schwartz
> "Rob" == Rob Dixon writes: Rob> For me, the bottom line is that try / catch is a funky showpiece that Rob> pushes Perl syntax beyond its limits. No one who sees your code will Rob> thank you for using it, and you should remove it in preference of a Rob> simple check on $@. Completely disag

Re: double substitution

2011-09-20 Thread Shawn H Corey
On 11-09-19 08:56 PM, Rajeev Prasad wrote: $string="alpha number='42'" $string=~s/.*\=// ; $string=~s/\'//g; to get 42 and not '42' can these two substitutions be combined? thank you. It depends on what you want to extract. To extract a string inside single quotes after an equal sign:

Re: Maintain Packages

2011-09-20 Thread Francisco Rivas
Thank you very very much for all the answers. You, all, addressed me to the right direction I knew it from the beginning. Have a very nice day. 2011/9/20 Paul Johnson > On Tue, Sep 20, 2011 at 09:54:49AM +0200, Francisco Rivas wrote: > > > Hello I am willing to start maintaining a module or even

Re: Maintain Packages

2011-09-20 Thread Francisco Rivas
Thank you very very much for all the answers. You, all, addressed me to the right direction I knew it from the beginning. Have a very nice day. 2011/9/20 Paul Johnson > On Tue, Sep 20, 2011 at 09:54:49AM +0200, Francisco Rivas wrote: > > > Hello I am willing to start maintaining a module or even

Re: Maintain Packages

2011-09-20 Thread Paul Johnson
On Tue, Sep 20, 2011 at 09:54:49AM +0200, Francisco Rivas wrote: > Hello I am willing to start maintaining a module or even a Perl package or > library, so I would like to ask you all about the best way to start. I know > that participating in mailing lists is a good way, but I am also asking > ab

Re: Maintain Packages

2011-09-20 Thread Jeff Pang
20 сентября 2011, 11:55 от Francisco Rivas : > Hello I am willing to start maintaining a module or even a Perl package or > library, so I would like to ask you all about the best way to start. I know > that participating in mailing lists is a good way, but I am also asking > about your experience

Maintain Packages

2011-09-20 Thread Francisco Rivas
Hello I am willing to start maintaining a module or even a Perl package or library, so I would like to ask you all about the best way to start. I know that participating in mailing lists is a good way, but I am also asking about your experience and if there is someone who has a package and is looki