in reply to Re^3: Yet another Can't locate object method question
in thread Yet another Can't locate object method question

From where do you think OUT pops out in
open OUT, '<', $file;
$self is a hash ref, $self->{fh} does not exist, so it is created by Perl when calling open, and the filehandle is assigned to it.

Replies are listed 'Best First'.
Re^5: Yet another Can't locate object method question
by nemesdani (Friar) on Mar 17, 2012 at 08:58 UTC
    Clear now :). Thanks.