$ perl -wle 'print +(split /#/, "a#b")[1];' b
You can also use undef where you don't want variable names:
my (undef, $a) = split ...
In reply to Re: split split
by moritz
in thread split split
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |