Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Accessing Variables in Different Subroutines

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


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

I've tried to edit the code I've provided to be more specific but I don't really know what you mean. I have 2 variables, $randomString and $file and I would like them to have the same values in each subroutine. The code I've provided is a cgi script (functioning) and illustrates the these variables have different values in each subroutine.

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

Log In?
Username:
Password:

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

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

    No recent polls found