in reply to Re: Strange Compilation Failed in Require Error
in thread Strange Compilation Failed in Require Error
in order to call that particular socket object.my $SockObj = $self->sock_object;
Thanks so much.. You're inputs gave me some valid direction.sub Action1 { my ( $self, $x, $y ) = @_; my $tmp = { 'hash1' => 'Command', 'value1' => $x, 'value2' => $y, 'Device' => $self->{_device} }; $InputRequest = $ComObj->CreateInputString($tmp); my $SockObj = $self->sock_object; $SockObj->WriteInfo($InputRequest); my $Response = $SockObj->ReadData(); $ComObj->TapResponse($Response); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange Compilation Failed in Require Error
by wind (Priest) on Apr 06, 2011 at 23:16 UTC |