Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Abusing Exporter for Conditional Inheritance

by mojotoad (Monsignor)
on Mar 17, 2005 at 05:47 UTC ( [id://440272]=note: print w/replies, xml ) Need Help??


in reply to Re: Abusing Exporter for Conditional Inheritance
in thread Abusing Exporter for Conditional Inheritance

This was my first inclination as well, but when you muck with @ISA, it affects all instances, rather than the particular one you're constructing. With perl, at least.

I suppose you could localize @ISA, but I haven't tried that.

Has anyone else? Is it just as much of a bastardization as what I've suggested above?

Matt

Update: this is of interest: Re: Re: Re (tilly) 1: Strict, strings and subroutines
(thanks to Revelation for the node reference)

  • Comment on Re^2: Abusing Exporter for Conditional Inheritance

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-18 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found