Moreover, $fh is declared with my in the package. Why? Do you want to keep the same file handle for all the instances of the class? Just create a fresh new reference in the constructor and use idiomatic my $self = shift; in other methods.
In reply to Re: Yet another Can't locate object method question
by choroba
in thread Yet another Can't locate object method question
by nemesdani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |