diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-28 19:45:13 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-28 19:45:13 +0200 |
commit | 7615088320ac1987ee7eaeeef6c81e68f3c549c0 (patch) | |
tree | 4c1754422aab1b7e7f19a2892730f65e9972595f /bin/efa | |
parent | c1c3afa66bf6e2ad0b1a1731c057f10468605468 (diff) |
VRR.pm: Add Travel::Routing::DE::VRR::Exception base class
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -72,8 +72,9 @@ sub check_for_error { my ($eval_error) = @_; if ( not defined $efa ) { - if ( $eval_error - and ref($eval_error) =~ m{^Travel::Routing::DE::VRR::Exception}x ) + if ( $eval_error + and ref($eval_error) + and $eval_error->isa('Travel::Routing::DE::VRR::Exception') ) { handle_efa_exception($eval_error); } |