Lines Matching defs:code
153 sub code
155 @_ == 1 or croak 'usage: $obj->code()';
179 my($code,$resp) = @_;
184 (${*$cmd}{'net_cmd_code'},${*$cmd}{'net_cmd_resp'}) = ($code, $resp);
231 my $code = $_[0]->code;
232 0 < $code && $code < 400;
326 my($code,$more) = (undef) x 2;
340 ($code,$more) = $cmd->parse_response($str);
341 unless(defined $code)
347 ${*$cmd}{'net_cmd_code'} = $code;
354 substr($code,0,1);
631 =item code ()
633 Returns the 3-digit code from the last command. If a command is pending
638 Returns non-zero if the last code value was greater than zero and
644 Returns the most significant digit of the current status code. If a command
693 Sets the status code to 580 and the response text to 'Unsupported command'.
699 of the status code is returned. Upon failure, timeout etc., I<undef> is
705 return an array of 2 values, the 3-digit status code and a flag which is true