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??


in reply to 'defined' function

Something like this ? :
push @points,grep {defined} @peaks[7,8,9,10,11,12,13];
OR (as you seem to have written:)
push @points,join " ",grep {defined} @peaks[7,8,9,10,11,12,13]

-edit- too late :)
GreetZ!,
    ChOas

print "profeth still\n" if /bird|devil/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://265635]
help
Chatterbox?
[Corion]: Ouch. I just learned something about Chrome - the "version numbers" are not really feature numbers... Chrome 62 still gets new features even though Chrome 64 is out and Chrome 65 is the dev version

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-12-12 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?