On Wed, Jul 18, 2001 at 03:59:14PM -0000, [EMAIL PROTECTED] wrote:
> I am doing some Object Oriented programming in Perl. 
> I have a problem getting the instance variables in some of my 
> classes updated.

This is probably your problem right here.  Instance variables are, by
definition, not class variables, so they can't be updated on a class-wide
basis.  I'm not sure if you're aware of the difference between a class, an
object, and an instance.

You should consider getting a book or tutorial that introduces you to the
basics of object-oriented Perl.  Some good places to look are:

    perldoc perlboot
    perldoc perltoot

    _Beginning Perl_ by Simon Cozens
    _Object Oriented Perl_ by Damian Conway

I'm not certain about _Beginning Perl_, I haven't read it, but it does have
chapters on OO Perl.  _Object Oriented Perl_ gets pretty advanced, but it
does have chapters on basic OO in Perl, and basic OO in general.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

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

Reply via email to