more useful options | |
PerlMonks |
Re: Eval/package questionby GrandFather (Saint) |
on Jan 21, 2020 at 10:33 UTC ( [id://11111670]=note: print w/replies, xml ) | Need Help?? |
We can simplify the test case to:
The issue is that $items{3}{Value} is evaluated as the string is being constructed. A simple fix it to use single quotes so interpolation doesn't happen. A better fix is not to use string eval!
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|