laziness, impatience, and hubris | |
PerlMonks |
Re^3: Assign multiple scalars the same valueby xdg (Monsignor) |
on Jan 25, 2005 at 19:44 UTC ( [id://425019]=note: print w/replies, xml ) | Need Help?? |
Good point. One could always do this:
Not sure if that's shorter/better than other solutions (plus requires Want), but it's another way of keeping the number of variables in sync. -xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|