sub name_join { return '' unless @_; return $_[0] if 1 == @_; return join ', ', @_[0 .. $#_ - 2], "$_[-2] and $_[-1]"; }
In reply to Re: Non-greedy substitution
by sleet
in thread Non-greedy substitution
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |