in reply to split and uninitialized variables
my ($x, $y, $z) = (split(',', $_), '' x 3);
Update: ambrus is right. That's what I get for testing code without warnings on.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: split and uninitialized variables
by ambrus (Abbot) on Sep 03, 2004 at 15:46 UTC | |
|
Re^2: split and uninitialized variables
by markjugg (Curate) on Sep 03, 2004 at 15:38 UTC | |
by Eimi Metamorphoumai (Deacon) on Sep 03, 2004 at 15:51 UTC |