Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Foo is not a Bar, why?

by Juerd (Abbot)
on Dec 18, 2003 at 19:03 UTC ( #315615=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Foo is not a Bar, why?
in thread Foo is not a Bar, why?

No, but the fact that you have to use package globals to indicate inheritance, does indicate to me that inheritance was added later.

But... Everything was added later. Have you tried Perl 1.0? Almost everything we use now was bolted on later. And I'm glad it was.

Also, I'm glad they did this with a package global. Being able to change @ISA later has come in handy more than once for me.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


Comment on Re: Re: Re: Foo is not a Bar, why?
Re: Re: Re: Re: Foo is not a Bar, why?
by liz (Monsignor) on Dec 18, 2003 at 19:45 UTC
    Also, I'm glad they did this with a package global. Being able to change @ISA later has come in handy more than once for me.

    Not using package globals to indicate inheritance does not necessarily have to mean you wouldn't be able to change inheritance "on the fly".

    It's just that it's exposed to the outside world as a package global. It's like a car with the gear box on the outside. It sure will work, and you may even be able to switch gears even when you're not sitting in the car. But it still is an ugly sight!

    A sight that I've come to love, though, let there be no mistake about that!

    Liz

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-09-03 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls