Re: problem executing linux command in perl

2001-12-04 Thread Rahul Garg
ecember 04, 2001 6:57 PM Subject: Re: problem executing linux command in perl chmod 0777, $r_file or die "Cannot chmod $r_file: $!"; giving error : error :Cannot chmod : no such file or directory - Original Message - From: John W. Krahn <[EMAIL PROTECTED]> To: <[EMAIL P

Re: problem executing linux command in perl

2001-12-04 Thread Rahul Garg
chmod 0777, $r_file or die "Cannot chmod $r_file: $!"; giving error : error :Cannot chmod : no such file or directory - Original Message - From: John W. Krahn <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 6:29 PM Subject: Re: p

Re: problem executing linux command in perl

2001-12-04 Thread John W. Krahn
Rahul Garg wrote: > > I am transfering xyz.txt file from windows98 to linux server manually. > $r_file = "xyz.txt" ; > then in perl script i am executing `chmod 0777 $r_file` ; > # $r_file is in the same directory as is perl script > but the line is not executing > i have tried system command to

Re: problem executing linux command in perl

2001-12-04 Thread Tirthankar C. Patnaik
Are you giving the propoer syntax? your command should've been: chmod 0777, $r_file; # added the comma. HTH, -tir On Tue, 4 Dec 2001, Rahul Garg wrote: > Hi, > > I am transfering xyz.txt file from windows98 to linux server manually. > $r_file = "xyz.txt" ; > then in perl