good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: runtime problem; elusive errorby almut (Canon) |
on Sep 20, 2007 at 15:22 UTC ( [id://640157]=note: print w/replies, xml ) | Need Help?? |
my crude solution is to use string eval ... What also seems to work is
but I'm not sure if it's the "+0 = force numeric" aspect or the associated pre-evaluation of the variables that's making this work... (of course, this workaround isn't very satisfying either). Anyhow, it's probably best to just stay away from using Readonly... (I had also already been bitten by other subtle weirdnesses).
In Section
Seekers of Perl Wisdom
|
|