in reply to Archive::Tar basic question
$self is declared as a hash reference, and returned as a "bless'd" reference -- that is, an object. Qv.sub new { my $self = {}; [...] bless($self); }
This is distinct from, but similar to, the syntax for calling a method, which is a function in the module.$tar->{key};
$tar->method();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Archive::Tar basic question
by drblove27 (Sexton) on Aug 04, 2009 at 02:24 UTC | |
by Anonymous Monk on Aug 04, 2009 at 03:11 UTC | |
by drblove27 (Sexton) on Aug 04, 2009 at 03:14 UTC |