http://qs321.pair.com?node_id=636803


in reply to Match into list?

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!