Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (3)
As of 2016-09-26 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (474 votes). Check out past polls.