Try File::Remote
--Lyon
In reply to Re: append an expression to a file on remote host by redlemon in thread append an expression to a file on remote host by s_gaurav1091