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

Re^2: How to declare and use global variables

by alih110 (Novice)
on Nov 03, 2008 at 13:05 UTC ( [id://721086]=note: print w/replies, xml ) Need Help??


in reply to Re: How to declare and use global variables
in thread How to declare and use global variables

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: How to declare and use global variables

Replies are listed 'Best First'.
Re^3: How to declare and use global variables
by JavaFan (Canon) on Nov 03, 2008 at 13:36 UTC
    Well, you never declare $make_AR_1 in the top level script, and you're not saying you're exporting $make_AR_1, so it's not surprising you get a message when using $make_AR_1 in the top level script.
      how do I export the variable to the top level script? is this correct in the perl module? => ------------------------ use Exporter (); @Inst::EXPORT = qw($make_AR_1) -----------------------
        What's with all the ------? Put you code in <code>/</code> pairs and it will be lot easier for others to read. And if people can more easily read your question, the more and better responses you get.

        As for you question, what happened when you tried?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-19 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found