Rename a file

2003-10-24 Thread Chinku Simon
Hi, Is there any inbuilt command by which we can rename a file (in WinNT) Regards, Chinku __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

How to delete a file from the file system

2003-10-23 Thread Chinku Simon
Hi, Is there any module which has methods that can be used to delete a file from the filesystem in the windows NT environment. Thanks in Advance Chinku __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- To unsu

Error while using Bulkmail module

2003-10-22 Thread Chinku Simon
Hi, I am using Mail::Bulkmail module version 3.09 for mail functionality in one of my scripts. The script generates and sends around 4000 mails in a span of 3 hours and at the end of the script there is one last summary mail being sent. But at this point, the Bulkmail generates an error saying

How do you find out the size of a file

2003-10-20 Thread Chinku Simon
Hi, I have a requirement to find out the size of a file existing in an NTFS file system. Are there any suitable modules that can be used? Thanks in advance Chinku __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Problem in Mail::Bulkmail 3.09 module

2003-10-17 Thread Chinku Simon
Hi, I have a perl program which uses the Mail::Bulkmail v3.09 module to send out mails. The SMTP server we have is the lotus notes server. However, the number of mails that are being sent is pretty huge -- around 2000 mails in a span of 30 minutes. The perl program crashes after sending around

Problem with the Perl System command

2003-10-06 Thread Chinku Simon
Hi, I am facing an issue with the perl system command The relevant lines of code are the following: chdir "$util"; my @args = ("ldapmodify", "-D \"cn=$bdn\"", "-w $bp", "-h $svr", "-f \"$ldif\"", "-c", "-a"); system(@args) == 0 or die "system @args failed: $?"; The system call amounts

Regarding Mail::Bulkmail 3.09 module

2003-09-29 Thread Chinku Simon
Hi, I am facing a problem in using the Mail::Bulkmail 3.09 module. I am using the following method to specify the configuration files. Mail::Bulkmail->conf_files('C:/Perl/lib/Bulkmail.cfg'); and I have converted the script to an '.exe ' file. While I run the .exe file I get the error "Can't ca

Help needed on File manipulation

2003-09-26 Thread Chinku Simon
Hi, I am writing a Perl program that reads files created by another independent process. I have to take care that the perl program does not read the files that are in the process of getting created. I am programming in Windows NT environment. It is also not possible for the perl program to get

Re: Help required.....about string/text manipulation

2003-06-14 Thread Chinku Simon
Hi, I wud like some help in assembling the kit. Thanks in Advance --- Rob Dixon <[EMAIL PROTECTED]> wrote: > Mohit_jain01 wrote: > > > > > From: Rob Dixon > > > > > > Mohit_jain01 wrote: > > > > > > > > I am facing a problem with text file manipulation with Perl. > > > > > > > > I have a file wi

help needed on text file/String manipulation

2003-06-14 Thread Chinku Simon
Hi, I am facing a problem with text file manipulation with Perl. I have a file with over 2 lac lines of data. I need to find the duplicates(strings) in the file and copy those records into another file. Is there a function/module in Perl by which I can read the duplicates in a file at one