Maybe a similar pattern could be applied in other circumstances as well.sub first_x { return wantarray ? ( split /\s+/, $_[0], $_[1] + 1 )[ 0 .. $_[1] - 1 ] : join ' ', first_x( @_ ); }
--
use JAPH;
print JAPH::asString();
In reply to Re^2: Truncate Data from MySQL
by wol
in thread Truncate Data from MySQL
by rich731
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |