in reply to Re^2: no uninitialized warnings
in thread no uninitialized warnings
Mh... something like this?
@x=(1..3) ; undef $x[1] ; $_ = defined $_? $_: '[__UNDEF__]' for @x ; print "@x" ;
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: no uninitialized warnings
by ccn (Vicar) on Aug 25, 2004 at 16:46 UTC | |
by Aristotle (Chancellor) on Aug 29, 2004 at 19:25 UTC |