Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Reg expression on day

by flounder99 (Friar)
on Dec 23, 2003 at 18:04 UTC ( #316668=note: print w/replies, xml ) Need Help??


in reply to Re: Reg expression on day
in thread Reg expression on day

Please forgive me if my split syntax is incorrect

All you need is to quote your slash:

split('/',"$date")
I was thinking of something similar:
s!(\d+)/(\d+)!($1+0).'/'.($2+0)!e

--

flounder

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2023-06-01 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?