Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Global symbol x requires explicit package name at

by rowdog (Curate)
on Aug 19, 2010 at 10:37 UTC ( #855990=note: print w/replies, xml ) Need Help??

in reply to Global symbol x requires explicit package name at

use lib to put the current directory at the front of the load list:

use strict; use lib '.'; use test; print $x

But you should just follow the good advice you've received from toolic and change the name of your module to something saner like

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://855990]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2016-12-04 02:18 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (61 votes). Check out past polls.