Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: regex match with interpolated pattern

by hv (Prior)
on Aug 18, 2004 at 15:23 UTC ( [id://383994]=note: print w/replies, xml ) Need Help??


in reply to regex match with interpolated pattern

my $dm=08/14/04;

Since the value isn't in quotes, this is actually a calculation involving two divisions. Try instead:

my $dm = '08/14/04';

Hugo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found