SPUG: class methods

Neko tgy at chocobo.org
Thu Jan 27 13:41:34 CST 2000


On Thu, 27 Jan 2000, Andrew Sweger wrote:

> And to keep the VOLUME turned way up...
> 
> Please note that,
> 
> Some::Package->method(@args);

Lacking its own method(), Some::Package will inherit method() from one of
its parents.

> and
> 
> &Some::Package::method("Some::Package", @args);

This one requires more typing. :)

> are the same thing (if not, I'm sure I'll hear about it). They're exactly
> the same thing.


-- 
Neko


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list