Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by jacques (Priest)
on Jul 05, 2008 at 02:30 UTC ( [id://695639]=note: print w/replies, xml ) Need Help??


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

That looks like exactly what I wanted. Thanks!
  • Comment on Re^4: Automatically importing a subroutine for a particular namespace

Replies are listed 'Best First'.
Re^5: Automatically importing a subroutine for a particular namespace
by Joost (Canon) on Jul 05, 2008 at 21:53 UTC
    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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found