Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Better way to define global variables

by choroba (Canon)
on Jul 25, 2013 at 13:44 UTC ( #1046343=note: print w/ replies, xml ) Need Help??

in reply to Better way to define global variables

You do not want to export the value of the variable, but the variable itself. Use


Also, the Exporter's documantation states a different way how to make a package use it. Change the other line to

use Exporter 'import';
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Re: Better way to define global variables
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-11-30 04:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls