in reply to Re^2: Storing object references during creation of ->new object
in thread Storing object references during creation of ->new object
sub new { my $class = shift; my %options = @_; my $self = { _serial => $options{'serial'}, _log => $options{'log'}, _horcm => $options{'horcm'}, _does_get_cmd_status => $options{'does_get_cmd_status'}, }; bless $self, $class; $array_objects{$options{'serial'}} = $self; return $self; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Storing object references during creation of ->new object
by perldarren (Novice) on Aug 05, 2012 at 16:09 UTC |