Permalink
Browse files

update exception handling

  • Loading branch information...
moritz committed Mar 29, 2012
1 parent cb7ec7b commit 86764bc46364c41b78af0280bb16aae959dc9b2e
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/URI.pm
View
@@ -74,7 +74,9 @@ method parse (Str $str) {
try {
%!query_form = split_query( ~$!query );
CATCH {
- %!query_form = Nil;
+ default {
+ %!query_form = ();
+ }
}
}
}

0 comments on commit 86764bc

Please sign in to comment.