what is the purpose of putting the "[0]" in the second code? I got the same output with the "[0]" removed.
>perl -E "say('abc123def' =~ /(\d+)/);" 123
In reply to Re^2: Questions on sort
by jiashiun
in thread Questions on sort
by jiashiun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |