split and uninitialized variablesby podian (Scribe)
|on Sep 03, 2004 at 14:59 UTC||Need Help??|
podian has asked for the
wisdom of the Perl Monks concerning the following question:
when I want to split a string, I do this:
but if there are not enough tokens, then I get the following warning
Use of uninitialized value in concatenation (.) or string at ... (second line)
Is it possible to initialize the variables to nill - if they are not defined in the same line?