Permalink
Browse files

notdef is no more

  • Loading branch information...
1 parent 31f550e commit 81d802611b5c2c7ebd542664e59a70c7ab42ed23 @tadzik tadzik committed Mar 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/JSON/Tiny.pm
View
@@ -42,7 +42,7 @@ multi _tj(Hash $d) {
~ ' }';
}
-multi _tj($d where { $d.notdef }) { 'null' }
+multi _tj($d where { !$d.defined }) { 'null' }
multi _tj($s) {
die "Can't serialize an object of type " ~ $s.WHAT.perl
}

0 comments on commit 81d8026

Please sign in to comment.