Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: hash ref package

by MidLifeXis (Monsignor)
on Sep 14, 2012 at 18:01 UTC ( #993764=note: print w/replies, xml ) Need Help??

in reply to hash ref package

Can you define 'does not work anymore'?

One possible cause: if you move it to a different package and don't export the sub into the namespace of the caller, sort won't know where to find it. If this particular cause of 'does not work anymore' is the reason, then specifying the full class of the grabdataentry sub or importing it into your caller's namespace may help.


Replies are listed 'Best First'.
Re^2: hash ref package
by yucani (Initiate) on Sep 14, 2012 at 18:09 UTC
    You are right, as the function was not seen, only the foreach loop stoped working but no (visible) error or warning has been produced. Thanks for pushing me in the right direction. Solved.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993764]
[erix]: ( hm. that doesn't make sense really -- infallibility is a 19th century invention, the Inquisition quite a bit earlier )
[Your Mother]: The Inquisition? What a show!
[LanX]: which thread are you talking about?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-01-18 00:00 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (159 votes). Check out past polls.