On Sat, 19 Jul 2003 22:09:48 +0530 (IST), [EMAIL PROTECTED] wrote:
> Hi all,
> 
> Whats the difference between class methods and instance methods on perl ?
> 
> kindly enlighten,
> regards,
> KM
A class is a datastructure with methods that work upon this 
datastructures.

An instance is a class after you declared it.

i.e. Request->new (GET, "http://www.w3.org";);

You could also see a class as a construction manual plus the building 
materials... and the instance as the finished product.

So... to answer your question... both are different sides of the same 
coin.

thanks
/oliver/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to