in reply to Re^3: use fields, underscores and subclasses
in thread use fields, underscores and subclasses

-> in general is for refs, but ->name is for OOP. It even works on more than refs.

JavaFan also forgot the universal base class UNIVERSAL and the methods is provides.

Replies are listed 'Best First'.
Re^5: use fields, underscores and subclasses
by LanX (Saint) on Nov 23, 2008 at 02:10 UTC
    yes, but I wasn't sure if UNIVERSAL may already have a meaning for classical packages, with the methods called with ::

    well I'm too tired to look it up now ... vote me down guys .. good night!

    Cheers Rolf

      It wasn't the universal base class before OOP because there were no classes before OOP.

      As for whether the methods existed before OOP, all but VERSION only make sense in an OOP context.

        I see ... you are not too tired to look it up!

        just joking! ; )
        --- Rolf