Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: regex match with interpolated pattern

by Zed_Lopez (Chaplain)
on Aug 18, 2004 at 16:27 UTC ( [id://384036]=note: print w/replies, xml ) Need Help??


in reply to Re^2: regex match with interpolated pattern
in thread regex match with interpolated pattern

Uncomment your print ("$dm $dmm");. You'll see that you actually have the literal strings '&date_manip' and '&date_manip1(1)' in them. That's why they're not matching something that looks like a date.

Just use:

$dm = date_manip(); $dmm = date_manip1(1);

And you'll be a lot closer.

You also may wish to check out Date::Calc and Date::Manip and choose one for your date routines.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-03-28 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found