In list context, the m// operator (without /g modifier) does indeed return a list of all captures. So that's not your problem.
One problem with that pattern is that it's insisting on a "+" in the time zone specification. The string you're trying to match has a "-" ... ;-)
Use [+-] instead of \+, and it'll match that string at least (tested).
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re: Match into list?
by Sidhekin
in thread Match into list?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |