Home: Perl Programming Help: Frequently Asked Questions:
How do I define methods for every class/object?



Jasmine
Administrator

Jan 19, 2001, 3:41 PM


Views: 2897
How do I define methods for every class/object?

(From the Perl FAQ)

How do I define methods for every class/object?

Use the UNIVERSAL class (see the UNIVERSAL manpage).