cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to send a hashref as an argument to a SOAP server. I'm dumping the args to a log on the server and they look fine, but I get a warning when running the client:
And, here's the weird bit. I was just running an adapted sample from the docs that begins with:Cannot encode 'hashref' element as 'hash'. Will be encoded as 'map' in +stead
When I change this to:#!perl -w
the warning disappears.#!/usr/bin/perl use strict; use warnings;
Is there a difference between the -w switch and the "use warnings" pragma?
confused...
cLive ;-)
ps - I'm running these as "perl script.pl" rather than "./script.pl"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SOAP::Lite and hashrefs
by tinita (Parson) on Mar 22, 2004 at 23:49 UTC | |
by cLive ;-) (Prior) on Mar 23, 2004 at 00:26 UTC | |
by Vautrin (Hermit) on Mar 23, 2004 at 00:30 UTC |
Back to
Seekers of Perl Wisdom