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

Re: regexp list return 5.6 vs 5.8

by Sixtease (Friar)
on Jan 24, 2008 at 09:42 UTC ( [id://663971]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub is_digits {
        my @rv = $_[0] =~ /^([0-9]+)$/;
    ...
    push @arr2, @arr1;
    print "There are ", scalar(@arr2), " elements in \@arr2\n";
    print '$arr2[2] is ', defined($arr2[2])?'':'un', "defined\n";
    
  2. or download this
    There are 3 elements in @arr2
    $arr2[2] is undefined
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found