Jaymac has asked for the wisdom of the Perl Monks concerning the following question:
###################################################################### +## W #!/usr/bin/perl -w use strict; use warnings 'all'; use LWP::Simple; use XML::Simple; my $url = 'http://services.hjknet.com/MyDataService/MyDataService.asmx +/Authenticate?CustomerToken=+NotMyRealToken== HTTP/1.1'; my $xml = new XML::Simple; my $xml_raw = get $url; my $inc_data = (); $inc_data = $xml->XMLin($xml_raw, SuppressEmpty => '' ); print "Inc_data: " . $inc_data . "\n"; print "Inc_data->{xmlns}: " . $inc_data->{xmlns} . "\n"; ###################################################################### +##
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with simple LWP get request
by ikegami (Patriarch) on Aug 22, 2011 at 19:57 UTC | |
by Jaymac (Initiate) on Aug 22, 2011 at 20:59 UTC | |
by ikegami (Patriarch) on Aug 22, 2011 at 22:05 UTC | |
|
Re: Problem with simple LWP get request
by Gangabass (Vicar) on Aug 23, 2011 at 01:44 UTC | |
by Jaymac (Initiate) on Aug 23, 2011 at 14:58 UTC | |
by ikegami (Patriarch) on Aug 23, 2011 at 17:41 UTC | |
by Jaymac (Initiate) on Aug 24, 2011 at 14:53 UTC |