in reply to WWW::Mechanize::Link bug?

That's not subclassing. You violated the WWW::Mechanize::Link object's encapsulation and then called your own function on its guts.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^2: WWW::Mechanize::Link bug?
by sh1tn (Priest) on Dec 23, 2005 at 11:10 UTC
    Obviously, I wasn't clear enough. The subroutine was given only to show what I wanted, not to imitate inheritance. I only compared the text method with text function to show the results.