|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Trying to access hash from external perl fileby kennethk (Monsignor) |
| on Jul 11, 2012 at 16:48 UTC ( #981196=note: print w/ replies, xml ) | Need Help?? |
|
Well, there are a couple methods, but none is particularly clean from my perspective. The right™ way to do this is to edit File_a.pl to be a module (perlmod), and interact with it programmatically. However, given your spec, I can see two ways to proceed.
Both of these feel fragile to me, but they will do the job. #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||