Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: split and uninitialized variables

by ccn (Vicar)
on Sep 03, 2004 at 16:00 UTC ( #388323=note: print w/replies, xml ) Need Help??


in reply to split and uninitialized variables

my ($x, $y, $z) = map { defined() ? $_ : '[undef]' } split ',', $_, 3; print "x = $x y= $y z =$z\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://388323]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-09-26 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (292 votes). Check out past polls.

    Notices?