![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Eval/package questionby Ratazong (Monsignor) |
on Jan 21, 2020 at 11:33 UTC ( #11111675=note: print w/replies, xml ) | Need Help?? |
Thanks a lot, GrandFather and Eily! I have a generic configuration in an Excel-file, and move it to several hashes by creating the commands as strings and eval-ing them. It works in my stand-alone-script, but doesn't any longer when moving the code into the package (the package variable (%items above) is not available). So my example above did not reproduce my issue - and I'll have to search further. Nevertheless, I learned something today :-) Have a great day, Rata
In Section
Seekers of Perl Wisdom
|
|