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 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 too.
> Any suggestions..
> Thanks,
> Rahul,              




> 


-- 
 Tirthankar, IGIDR. 
 +91-22-8400919 x275 (r), x593(o), x(542), 
 +91-22-8421206 (r)
 http://www.igidr.ac.in/~tir

                                                                XXI
        I sing to him that rests below,
           And, since the grasses round me wave,
           I take the grasses of the grave,
        And make them pipes whereon to blow.
-Tennyson, Lord Alfred. (In Memoriam A.H.H.)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to