Skip to content

Commit

Permalink
* Reprioritize little-used option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Heins committed Oct 27, 2016
1 parent c8fa4be commit 496e1f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/Vend/Interpolate.pm
Expand Up @@ -983,13 +983,6 @@ sub conditional {
$op .= qq% $operator $comp%
if defined $comp;
}
elsif($base eq 'scratchd') {
$op = qq%$::Scratch->{$term}%;
$op = "q{$op}" unless defined $noop;
$op .= qq% $operator $comp%
if defined $comp;
delete $::Scratch->{$term};
}
elsif($base eq 'tmp') {
$op = qq%$Tmp->{$term}%;
$op = "q{$op}" unless defined $noop;
Expand Down Expand Up @@ -1186,6 +1179,13 @@ sub conditional {
$op .= qq% $operator $comp%
if defined $comp;
}
elsif($base eq 'scratchd') {
$op = qq%$::Scratch->{$term}%;
$op = "q{$op}" unless defined $noop;
$op .= qq% $operator $comp%
if defined $comp;
delete $::Scratch->{$term};
}
else {
$op = qq%$term%;
$op = "q{$op}" unless defined $noop;
Expand Down

0 comments on commit 496e1f1

Please sign in to comment.