Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Regular expression

by ioannis (Prior)
on Jun 05, 2006 at 08:28 UTC ( #553551=note: print w/replies, xml ) Need Help??

in reply to Regular expression

Assuming the date is in fixed-length format, you could also use unpack():
my $maxdate = "2006-06-06"; my ($m_year, $m_month) = unpack 'A4 x A2', $maxdate;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://553551]
[1nickt]: Corion I feel that way a lot when I look at the news...
[1nickt]: Brethren, I just noticed in the CPAN ticker Retry, which led me to Attempt, by Mark Fowler. Does anyone have experience with either of these utilities?
[Corion]: No. Back when I toyed with the idea, I found that writing the loop explicitly was usually less code than passing the configuration+ callback to the retrier...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-05-24 12:34 GMT
Find Nodes?
    Voting Booth?