jhughes4
asked on
Get Perl to accept double quotes (") as input arguments
Hello,
How do I get Perl to recognize double quotes (") as an input argument? For example:
perl.exe invoke.pl TEST xmlns:ns1="http://www.example.org"
and I need the 2nd argument to retain the ".
my $var = $ARGV[1];
print $var
Should print
xmlns:ns1="http://www.example.org"
Thanks
How do I get Perl to recognize double quotes (") as an input argument? For example:
perl.exe invoke.pl TEST xmlns:ns1="http://www.example.org"
and I need the 2nd argument to retain the ".
my $var = $ARGV[1];
print $var
Should print
xmlns:ns1="http://www.example.org"
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.