Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: namespace hacking with globs

by jbert (Priest)
on Jan 15, 2008 at 13:29 UTC ( #662461=note: print w/ replies, xml ) Need Help??

in reply to namespace hacking with globs

Perhaps do it the other way?

Take a reference to the array in the other namespace, and fill that up.

my $ar = \@OtherNameSpace::Ar; doTheThingWhichPopulatesBigArray($ar);
That way you've still only got one copy of the data.

Comment on Re: namespace hacking with globs
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-07-05 13:21 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (67 votes), past polls