Hi folks...  I'm trying to write a file-writing routine that checks a
directory to see if a particular file exists.

For example:

c:\test\ 

contains

1.txt
2.txt
3.txt
4.txt

Or it could contain nothing.

What I want to do is check all of the *.txt files, and increment the next
new file name by 1.  I know I can use the -x to check for existence, but is
there a better way to do it?

Thanks,

James

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to