in reply to Re: Suggestion on rewriting small code
in thread Suggestion on rewriting small code
my $str = sprintf 'job==%d || 'x(@arr-1) . 'job==%d', @arr;
++ your solution, but just a minor point of curiosity: why use @arr-1 instead of $#arr here?
Give a man a fish: <%-{-{-{-<
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Suggestion on rewriting small code
by BillKSmith (Monsignor) on Aug 21, 2019 at 18:14 UTC | |
by AnomalousMonk (Archbishop) on Aug 21, 2019 at 20:04 UTC |
In Section
Seekers of Perl Wisdom