summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index d6f7cef..6117ec6 100755
--- a/bin/efa
+++ b/bin/efa
@@ -104,7 +104,7 @@ if ($efa->{'error'}) {
die $efa->{'error'}->as_string();
}
-if (ref($efa) eq 'WWW::Efa::Error') {
+if ($efa->isa('WWW::Efa::Error')) {
die($efa->as_string);
}