- or download this
return encode_json(\%result) if lc($attrs{'format'}) eq 'json';
- or download this
lc($attrs{'format'}) eq 'json' and return encode_json(\%result);
- or download this
open(my $fh, '<', $file) or die "error opening '$file': $!";
- or download this
return encode_json(\%result) if lc($attrs{'format'}) eq 'json';
return $result{'message'} or "$result{'api-key'}:$result{'session'}";