Permalink
Browse files

Mandatory arg after optional doesn't work

  • Loading branch information...
1 parent 0a684e4 commit f3c5672ebbdc3c91e30cc881c3eb2c94a20dd631 @cosimo committed Mar 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Facter/Util/Resolution.pm
@@ -119,7 +119,7 @@ method limit {
}
# Set our code for returning a value.
-method setcode($string = "", $interp = "", $block) {
+method setcode($string = "", $interp = "", $block = Mu) {
if $string {
$.code = $string;
$.interpreter = $interp || $INTERPRETER;

0 comments on commit f3c5672

Please sign in to comment.