Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Match into list?

by Sidhekin (Priest)
on Sep 04, 2007 at 00:00 UTC ( #636803=note: print w/ replies, xml ) Need Help??


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!


Comment on Re: Match into list?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://636803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2015-07-08 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls