Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Automatically importing a subroutine for a particular namespace

by Joost (Canon)
on Jul 05, 2008 at 21:53 UTC ( #695756=note: print w/replies, xml ) Need Help??


in reply to Re^4: Automatically importing a subroutine for a particular namespace
in thread Automatically importing a subroutine for a particular namespace

Note that you would have to take care that the exporting takes place at the right time (which would be before the packages are loaded) if you want to have the same semantics as my solution. That's completely possible, of course (at least if you're not making it too complicated), but it may lead to confusion and/or spurious warnings if you're doing it wrong.

  • Comment on Re^5: Automatically importing a subroutine for a particular namespace

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://695756]
help
Chatterbox?
LanX starts googling the punch line ...
[choroba]: suddenly, a weird noise can be heard, and the conductor stops them
[choroba]: (sorry, was interrupted by a call)
[choroba]: What was that? asks he
[choroba]: and the triangle player says, "That was me. It's written here in the score"
[choroba]: and shows a bar with a note "ohne Triangel"
[choroba]: where "ohne" means "will bend" in Czech
[LanX]: one-day-the- triangle-player-of -an-orchestra-gets -very-sick xD

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-03-27 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.