Gurus,
I'm almost ashamed to have to post this, because I know this is a newbie
question, and I'm not really one of those any more, but I'm drawing a
blank. Isn't there an easier way to initialize a list of variables, to a
common value, than this:
my ($a, $b, $c, $d, $e, $f) = ('init', 'init', 'init', 'init', 'init',
'init');
I'm *sure* I've seen this done using map, but, like I said, every trip to
the well yields an empty bucket--except for the no-brainer line above.
TIA, and PLEASE try not to laugh too loud...
Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
224-542-5150
The chief cause of problems is solutions. - Eric Sevareid_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs