|Problems? Is your data what you think it is?|
Passing Parameters in XML::Simpleby PerlScholar (Acolyte)
|on Oct 06, 2010 at 08:18 UTC||Need Help??|
PerlScholar has asked for the
wisdom of the Perl Monks concerning the following question:
Iím using XML simple for my config and normally you would declare the config path as below:
my $config = XMLin(ĎmyConfig.xmlí);
Is there a way of passing the config as a parameter to be entered at the command line? I was thinking something like the code below but it didnít seem to work.
my $config = XMLin($ARGV);
Would appreciate any help. Many thanks!