Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Method for sharing variables

by bioMan (Beadle)
on Oct 04, 2005 at 03:19 UTC ( [id://497120]=note: print w/replies, xml ) Need Help??


in reply to Method for sharing variables

Being a lowly acolyte I'm leary to post as I'm sure wiser voices will post much sounder advice. However, as you are creating your variables (for example $foo) in the Main namespace, you can refer to those variables in any block by using Main::$foo.

Mike

Replies are listed 'Best First'.
Re^2: Method for sharing variables
by sauoq (Abbot) on Oct 04, 2005 at 05:34 UTC
    you can refer to those variables in any block by using Main::$foo

    Well, you mean $main::foo and you probably mean "package" rather than "block." It's doubtful this is going to help the OP in any case because he said he was going to be running other scripts from his frontend.

    -sauoq
    "My two cents aren't worth a dime.";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-18 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found