How do I define methods for every class/object?

Use the UNIVERSAL class (see UNIVERSAL).


Back to perlfaq4