Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
In general, don't use eval or similar (evalbytes, do, require, use) for configuration data. See also: Re^2: conf file in Perl syntax, Re: Accessing variables in an external hash without eval Alexander Update: The doc shortcut [doc://evalbytes] seems to be broken at perlmonks, linking to http://perldoc.perl.org/evalbytes.html instead of the correct http://perldoc.perl.org/functions/evalbytes.html. Thanks to AnomalousMonk. Second update:
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-) In reply to Re: get variable from file to exist within perl code
by afoken
|
|