my $obj = Your::Package->new(%options); $obj->do_something; $obj->do_something_other(@args);
Consider reading perltoot, or if that doesn't help you, read a book on object orientation in general (doesn't really have to be perl related).
In reply to Re^3: A first attempt.. at OO perl
by moritz
in thread A first attempt.. at OO perl
by why_bird
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |