Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Getting Data Names in SOAP::Lite

by edoc (Chaplain)
on Jan 19, 2005 at 01:51 UTC ( #423243=note: print w/replies, xml ) Need Help??


in reply to Getting Data Names in SOAP::Lite

hmm.. do you mean like:

sub procedure1{ my %parameters = @_; my $var1 = $parameters{var1}; my $var2 = $parameters{var2}; } procedure1( var1 => 'value', var2 => 'value2' );

cheers,

J

Replies are listed 'Best First'.
Re^2: Getting Data Names in SOAP::Lite
by rdfield (Priest) on Jan 19, 2005 at 10:13 UTC
    In my experience, you'd need to change that slightly:
    sub procedure1{ my $class = shift; my %parameters = @_; my $var1 = $parameters{var1}; my $var2 = $parameters{var2}; } procedure1( var1 => 'value', var2 => 'value2' );
    Note the extra shift in the definition of procedure1.

    rdfield

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://423243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-01-18 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (54 votes). Check out past polls.

    Notices?