Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

List::Util - Bug in first?

by strat (Canon)
on Feb 18, 2008 at 14:06 UTC ( #668550=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub first (&@) {
      my $code = shift;
    ...
    
      undef; # <====== BUG?
    }
    
  2. or download this
    D:\workspace> perl
    D:\eclipse\workspace\BDC\lib> perl
    ...
              undef
            ];
    In scalar-context: true
    
  3. or download this
    D:\workspace>perl -MList::Util -le "print $List::Util::VERSION"
    1.19
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-12-26 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (168 votes), past polls