sub start { my $self = shift; # Get 'reference' to the class instance (aka object)! # use this reference to retrieve object specific attributes! open($self->{filehandle}, " . . . "); # . . . Rest of your code . . . }