Skip to content

Instantly share code, notes, and snippets.

@yappo
Created August 24, 2009 09:37
Show Gist options
  • Select an option

  • Save yappo/173790 to your computer and use it in GitHub Desktop.

Select an option

Save yappo/173790 to your computer and use it in GitHub Desktop.
diff --git a/lib/args.pm b/lib/args.pm
index 8e9f084..614d872 100644
--- a/lib/args.pm
+++ b/lib/args.pm
@@ -46,7 +46,7 @@ sub args {
Carp::croak($rule->{type}->get_message($args->{$name}));
}
}
- ${$upper_my->{$var_name}} = $args->{$name};
+ $_[$i] = $args->{$name};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment