Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: regexp list return 5.6 vs 5.8

by ikegami (Pope)
on Jan 24, 2008 at 18:12 UTC ( #664108=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >c:\progs\perl560\bin\perl -wle"$s = sub { my @rv = $_[0] =~ /^([0-9]+
    +)$/; retur
    n @rv[0 .. $#rv]; }->('abc'); print $s"
    ...
    >c:\progs\perl588\bin\perl -wle"$s = sub { my @rv = $_[0] =~ /^([0-9]+
    +)$/; retur
    n @rv[0 .. $#rv]; }->('abc'); print $s"
    Use of uninitialized value in print at -e line 1.
    
  2. or download this
    >c:\progs\perl560\bin\perl -wle"@a = sub { my @rv = $_[0] =~ /^([0-9]+
    +)$/; retur
    n @rv[0 .. $#rv]; }->('abc'); print @a"
    ...
    
    >c:\progs\perl588\bin\perl -wle"@a = sub { my @rv = $_[0] =~ /^([0-9]+
    +)$/; retur
    n @rv[0 .. $#rv]; }->('abc'); print @a"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://664108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-10-20 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (209 votes). Check out past polls.

    Notices?