I guess what you really wanted is do. You may compare this with eval qx(cat $conf); as described in the manpage. A classic St. Larry mentioned in some ancient lost script many decades ago. But see also Config::Tiny and JSON::Tiny. Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
In reply to Re: Reading a hash structure stored in a file
by karlgoethebier
in thread Reading a hash structure stored in a file
by sam1990
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |