Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Importing vars from one script to another

by rovf (Priest)
on Dec 12, 2012 at 09:51 UTC ( #1008473=note: print w/replies, xml ) Need Help??


in reply to Re^2: Importing vars from one script to another
in thread Importing vars from one script to another

That did it! I thought I had tried everything but I was missing the '1'. Now it works.
Whatever was the reason, this one can't be it.

If you require a file, the last expression in the included file must return a value which evaluates to true, otherwise your program dies. Therefore: If you had a value which evaluated to false in your earlier version, your program would not have executed, and you would have got an error message pointing out the problem. But if it already evaluated to true in your earlier version, adding a 1 doesn't change anything.

-- 
Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008473]
help
Chatterbox?
[1nickt]: Sad that so much of our humour these days is dry, wry, gallows humor :-/
[1nickt]: One of the great human characteristics .... to laugh in the face of doom :-)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-03-26 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.