Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Accessing Variables in Different Subroutines

by stefl (Acolyte)
on Mar 19, 2015 at 15:49 UTC ( [id://1120605]=note: print w/replies, xml ) Need Help??


in reply to Re: Accessing Variables in Different Subroutines
in thread Accessing Variables in Different Subroutines

I'm expecting it to be different in different runs of the script, but the subroutines need to be run sequentially (this is a much-simplified example of my code). When you run this script as it is, do the $randomString and $file variables have the same value throughout the form? For me the values change after each "Continue".

  • Comment on Re^2: Accessing Variables in Different Subroutines

Replies are listed 'Best First'.
Re^3: Accessing Variables in Different Subroutines
by choroba (Cardinal) on Mar 19, 2015 at 15:51 UTC
    Sure, because clicking "Continue" runs the script again. You should read more on HTTP.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Oh, I understand now. I knew it'd be something stupid. Thanks very much!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found