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

Re^3: our scope and packages

by tilly (Archbishop)
on Aug 28, 2008 at 23:23 UTC ( #707630=note: print w/replies, xml ) Need Help??

in reply to Re^2: our scope and packages
in thread our scope and packages

In the package that currently can't access it.

Actually the really right way to do it is to move %prod into a configuration module that might look like this:

package My::Configuration; use strict; use Export qw(import); our @EXPORT_OK = qw(%prod); our %prod = ( ... ); 1;
and then somewhere in main and in your other package insert the line:
use My::Configuration qw(%prod);
Doing that you won't even need the our declaration because importing it declares it.

Replies are listed 'Best First'.
Re^4: our scope and packages
by jfrm (Monk) on Aug 28, 2008 at 23:36 UTC
    Thanks, you've no idea how happy fixing this has made me. I could kiss you. (but this might be a result of living for so long with hundreds of men in brown gowns).
      Heh. You might want to work on your eyesight. I'm a guy. (Tilly is my last name, not my first.)
        Perhaps jfrm is just really happy?

        Or maybe jfrm is a lady, and prefers kissing guys to girls.

        Or maybe jfrm is a fella, and prefers kissing guys to girls.

        Or maybe jfrm is a dog (gender unspecified), and is willing to give a big slobberly jowly smacker to anyone of any species.

        (Beyond this point, our theorising delivers only diminsihing returns.)

        I think the only thing we can probably infer is that jfrm is frustrated by baldness, but I'm honestly not sure where that gets us...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2022-06-30 17:12 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (98 votes). Check out past polls.