Skip to content

Commit 7f87b5d

Browse files
committed
add fallback to Parser overloading to allow autogeneration of "eq" method
1 parent 85f8a81 commit 7f87b5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Parser.pm

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ use overload
2222
'>' => \&V,
2323
'/' => \&checkval,
2424
'""' => \&overload::StrVal,
25+
fallback => 1,
2526
;
2627

2728
sub parser (&) { bless $_[0] => __PACKAGE__ }

0 commit comments

Comments
 (0)