Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re:^2 Help with a more precise regex

by vladb (Vicar)
on Apr 25, 2003 at 21:16 UTC ( #253261=note: print w/ replies, xml ) Need Help??


in reply to Re:^2 Help with a more precise regex
in thread Help with a more precise regex

Although the solution I was proposing may not be precisely the one you were looking for; I thought it was worth noting for sake of others who might stumble on your post and wonder about alternative ways of doing this. It also appears simpler than the regexp way :)

There should be absolutely no difficulty in getting Date::Manip to work with cqperl as the module "is written entirely in perl" (quote). Despite of the fact that it may increase the size of your final executable and/or also affect it's run-time speed, there is no other visible harm in using the module. As I had stated, it would be an overkill to use the module to simply decypher date and hour values from the sample input you provided. Nontheless, it does appear cleaner than using raw regexp ;)

_____________________

# Under Construction


Comment on Re: Re:^2 Help with a more precise regex
Download Code
Re:^4 Help with a more precise regex
by LogicalChaos (Beadle) on Apr 25, 2003 at 22:42 UTC
    I guess you are saying I mis-remembered... Is that what your're saying?

    I was thinking of Date::Calc. And I do thank you for your information. All information is good information, especially when I didn't know it previously.

    Cheers,
    LogicalChaos

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-12-20 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls