Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 chanting in the Monastery: (9)
As of 2015-07-31 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls