What's the difference, semantically?
Note that in list context (my ($uid) = ...), the match operation returns the captures, so $uid holds the same value as $1. If there is no match, both values are undef.
In reply to Re^3: Extracting text from a line
by almut
in thread Extracting text from a line
by kirkbrown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |