in reply to Re: Eval/package question
in thread Eval/package question
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