in reply to Writing a Perl Module... problems

Read some documentation. Maybe start with perlboot, perltoot, and bless. When you call a subroutine with Class->method(...) or $object->method(...), the first argument is the class name or object itself. Oh, and did I mention, "read the docs"??

Replies are listed 'Best First'.
Re^2: Writing a Perl Module... problems
by cosmicperl (Chaplain) on Sep 15, 2007 at 03:02 UTC
    Reading them now, would have read them in the first place if I knew which ones were relevant to what I'm trying to do.