Re: Spliting a string on "."

2002-04-02 Thread Jeff 'japhy' Pinyan
On Apr 3, Rajeev Rumale said: >I am not able to split the the string "12.12.1975" on the "." seprator. > >also when I try ot repace the dot with some other variable useing the >statement $date=~s/./#/g; The character . is a special character for regexes. If you want it to match a LITERAL dot, y

Spliting a string on "."

2002-04-02 Thread Rajeev Rumale
Hi I have a sub routine listed at end. I request you to kindly tell me the mistake in this. I am not able to split the the string "12.12.1975" on the "." seprator. also when I try ot repace the dot with some other variable useing the statement $date=~s/./#/g; It is repalcing all the charc