filehandle problem

2003-03-17 Thread rbraswell
How can I see what file handles are pointed at a given file. I am having a problem where I open, read, and close a certain file. Then another part of the script tries to open that same file, but can't. I suspect something is holding it open. Another file handle perhaps, but I have not been able to

RE: String manipulation problem

2003-03-14 Thread rbraswell
Thanks to everyone for the help. The various responses to my question showed me that the perl creed is not idle chatter. There truly is "more than one way to do it!" Thanks to all, Ryan -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 5:36 PM To

String manipulation problem

2003-03-12 Thread rbraswell
Hi, While reading each line in a file, If I find a certain number, I need to increment a digit within that number. For example, when reading through my file, I expect to find the following line. #define DS_FILEVERSION 7,0,0,0462 What I want to do is have the ability to increment the first two