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

Re: 'defined' function

by ChOas (Curate)
on Jun 13, 2003 at 10:48 UTC ( #265635=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @points,grep {defined} @peaks[7,8,9,10,11,12,13];
    
  2. or download this
    push @points,join " ",grep {defined} @peaks[7,8,9,10,11,12,13]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2019-10-19 16:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?