Re: Problem with the Perl System command

2003-10-06 Thread John W. Krahn
Chinku Simon wrote: > > Hi, Hello, > 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 "sy

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