Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Accessing variables in an external hash without eval

by KurtZ (Friar)
on May 17, 2017 at 07:19 UTC ( #1190442=note: print w/replies, xml ) Need Help??

in reply to Accessing variables in an external hash without eval

I think in reality you have a my in front of the %hash, probably inside a block.

You should show us the real code. And please try to isolate the problem step by step.

On a side note, you can use "do filepath" instead of all the reading and eval stuff.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1190442]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2018-07-21 17:51 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (449 votes). Check out past polls.