go ahead... be a heretic | |
PerlMonks |
Re: magic eval variablesby zodiac (Beadle) |
on May 04, 2000 at 11:53 UTC ( [id://10200]=note: print w/replies, xml ) | Need Help?? |
this is slow because evals are slow,
the argument to eval is parsed every time the eval executes.
$$_ would do the same, however this will not work with
use strict;unless you define a variable
foreach of them using my($big $list $of $all $the $varables $you $might $want $to $use) the best way to do it is probably to use a hash: $objects{$_}->insert('end', $dat{$_});
In Section
Seekers of Perl Wisdom
|
|