$dotdate =~ s/\.//;
$dashdate =~ s/-//;

Scott Lutz
Pacific Online Support
Phone: 604.638.6010
Fax: 604.638.6020
Toll Free: 1.877.503.9870
http://www.paconline.net



-----Original Message-----
From: Scott [mailto:[EMAIL PROTECTED]]
Sent: January 4, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: More formatting questions


First off, thank you to everyone who has helped me dive into perl full 
force this week.  I am glad I am getting to know the language!

My question is about formatting.  I need to strip a decimal out of a 
number and dash out of a date.  I am importing a file and then 
reformatting it for export to a mainframe.  The number's come in like 
this:  100.05, I need to strip out the decimal from that and just
display 
10005.  With dates they are coming in 2002-01-03, here I need to just 
display 20020103.

Thanks in advance.

-Scott



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to