Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: use Very::Long::Module::Name as Foo;

by hardburn (Abbot)
on Oct 14, 2003 at 16:59 UTC ( #299185=note: print w/replies, xml ) Need Help??

in reply to use Very::Long::Module::Name as Foo;

. . . bart's response (which is the simple assignment of @ISA) . . .

I'd like to use this as cannon fodder against those who said modifying @ISA directly is OK here. My argument in that meditation was that directly assigning @ISA is bad because it clobbers any existing values, and that one should always use base instead, if possible. Many posters in that thread noted that nobody else should be messing with your package's @ISA. At the time, I couldn't come up with a good reason why an external source would be playing with your @ISA, but thought there might be a good reason that I hadn't seen yet. Now I have one. Thanks :)

I'd like to take this opertunity to say na na na, your it, no returns.

I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://299185]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2018-06-21 00:02 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.