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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Eval/package question
by haukex (Archbishop) on Jan 21, 2020 at 19:05 UTC | |
Re^3: Eval/package question
by shmem (Chancellor) on Jan 21, 2020 at 14:38 UTC | |
by Anonymous Monk on Jan 21, 2020 at 16:26 UTC | |
Re^3: Eval/package question
by jcb (Parson) on Jan 22, 2020 at 00:29 UTC |
In Section
Seekers of Perl Wisdom