Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Issues trying to pass variable to SOAP::Lite

by ayapejian (Novice)
on Apr 29, 2008 at 20:57 UTC ( [id://683577]=note: print w/replies, xml ) Need Help??


in reply to Re: Issues trying to pass variable to SOAP::Lite
in thread Issues trying to pass variable to SOAP::Lite

So the begin block worked as mentioned, however it did break my script when placed in a persistent environment, since the begin block is only activated once in this environment. So ... anyone else have some ideas? If autodispatch is broken, is there a way around this?
  • Comment on Re^2: Issues trying to pass variable to SOAP::Lite

Replies are listed 'Best First'.
Re^3: Issues trying to pass variable to SOAP::Lite
by Anonymous Monk on Apr 30, 2008 at 04:23 UTC
    perldoc -f use
    perldoc -f import
      I'm guessing 'use' and 'import' operate the same as BEGIN in a persistent environment, they only get ran once per compile, is this correct? The problem being that BEGIN works great the first time the app is compiled, but with speedycgi(PerPerl) the program is only compiled once for multiple runs, so I cannot redefine that variable after the first run.
      I'm guessing 'use' and 'import' operate the same as BEGIN in a persistent environment, they only get ran once per compile, is this correct? The problem being that BEGIN works great the first time the app is compiled, but with speedycgi(PerPerl) the program is only compiled once for multiple runs, so I cannot redefine that variable after the first run.
        import is a method, use it?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found