Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: regexp list return 5.6 vs 5.8

by hipowls (Curate)
on Jan 24, 2008 at 09:02 UTC ( [id://663964]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    
    ...
        my @rv = $_[0] =~ /^([0-9]+)$/;
        return @rv[ 0 .. $#rv ];
    }
    
  2. or download this
    michael$ perl t.pl
    [[]
    ...
    Complete documentation for Perl, including FAQ lists, should be found 
    +on
    this system using `man perl' or `perldoc perl'.  If you have access to
    + the
    Internet, point your browser at http://www.perl.com/, the Perl Home Pa
    +ge.
    
  3. or download this
    michael$ /usr/local/bin/perl t.pl
    [[]
    ...
    Complete documentation for Perl, including FAQ lists, should be found 
    +on
    this system using `man perl' or `perldoc perl'.  If you have access to
    + the
    Internet, point your browser at http://www.perl.com/, the Perl Home Pa
    +ge.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-03-28 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found