summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-07 15:36:39 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-07 15:36:39 +0200
commita9fd781a502c606fd709038a0d3909c61c5a4eca (patch)
tree9bdd8701cbfabfdf63158cfaa32741fc16590a9a /bin/efa
parenta30be50b746055a1474b90b8bdf01a34776f535d (diff)
Initial module test (new/isa/can)
Diffstat (limited to 'bin/efa')
-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);
}