Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: Altering Package Subs and Running In To Problems

by Aighearach (Initiate)
on Nov 11, 2004 at 11:25 UTC ( [id://406989]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Altering Package Subs and Running In To Problems
in thread Altering Package Subs and Running In To Problems

By "stepping on toes" I only meant it in the technical sense, of overwriting another persons code (instead of subclassing).

Alternatives to Exporter would be nice to see.

You should take a look at perldoc base. Be very, very sure you can't use this existing tool.

Well, already I can take component1 and make it a subclass called compoment2, and make a subclass called component3, and each one only needs to overload the stuff it seeks to replace. And only the interface needs to be published, even with proprietary code that is done with plugin interfaces. Why would you need the source, just to implement inheritance?


--
Snazzy tagline here

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-29 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found