>I can do something like suffixing the filename with timestamp etc, >but would like to know if there can be a static variable defined in this >function which will be incremented each time a new file is created. >
Hello.Using 'File::Temp' for your purpose pls,see: http://search.cpan.org/~tjenness/File-Temp-0.16/Temp.pm Hope it helps. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>