Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
go ahead... be a heretic
 
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 perusing the Monastery: (4)
As of 2014-04-18 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls