uday_sagar has asked for the wisdom of the Perl Monks concerning the following question:
I generally use "my $system = XMLin('/hello/uday_sagar/system.xml');". But I want to give as XMLin('$ARGV[0]/system.xml') and pass /hello/uday_sagar as an agrument from the commandline. How can I achieve this? Please also tell me the way to pass the file handle to the XMLin() method. Thanks in Advance, Uday Sagar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Giving the input file to XMLin() from the command line as an argument
by Eliya (Vicar) on Jan 24, 2012 at 12:36 UTC | |
by uday_sagar (Scribe) on Jan 25, 2012 at 06:09 UTC |