Jon Ericson wrote:
> John Porter wrote:
> > ...all variable types (scalar, array, hash) are simply objects. 
> 
> Not in Perl.

Yes, in perl.


> $dog and $cat are objects.  $dog can bark and $cat can scratch.  The
> author of the module (Zoo::Animal?) should have documented these
> methods.

And similarly, the author of the 'scalar', 'array', and 'hash' classes
should have documented their methods -- push(), scalar(), $#{}, etc. --
and in fact he (Larry) did.


> push is _not_ a method.  @var is not an object.  

You are deluded.

-- 
John Porter

Reply via email to