Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: regexp list return 5.6 vs 5.8

by ikegami (Patriarch)
on Jan 24, 2008 at 18:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://664108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found