sweetblood has asked for the wisdom of the Perl Monks concerning the following question:
<pseudo-code> $len = length(trim($fld)); $min[$i], $max[$i], $emax[$i] = $len if ! defined $min[$i]; </pseudo-code>
The above does not work of course, but this is the idea. Is there a way to set several variables at once? Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: assigning a value to several vars
by broquaint (Abbot) on Jan 16, 2004 at 15:55 UTC | |
by Roy Johnson (Monsignor) on Jan 16, 2004 at 16:05 UTC | |
|
Re: assigning a value to several vars
by Abigail-II (Bishop) on Jan 16, 2004 at 15:56 UTC | |
|
Re: assigning a value to several vars
by Zaxo (Archbishop) on Jan 16, 2004 at 20:30 UTC |