Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: regexp list return 5.6 vs 5.8

by hipowls (Curate)
on Jan 24, 2008 at 09:02 UTC ( #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
Node Status?
node history
Node Type: note [id://663964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2020-11-27 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?