diff options
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index e02d67ac..8c3d589b 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -26,7 +26,7 @@ sub import { if (@_ > 1 && $_[1] eq 'options') { # export the global %options hash no strict 'refs'; - *{caller().'::options'} = \%options; + *{caller() . '::options'} = \%options; } } @@ -165,7 +165,7 @@ my %options_spec = ( # This is for non-option arguments. # Assume a regex unless a ++ is inside the string. $p = quotemeta $p if $p =~ /\+\+/; - $::expr .= "m{$p}".$::pattern; + $::expr .= "m{$p}" . $::pattern; } }, }, |