Hi, pravesh 1 - You are saying "mv <<somefile /home/pravesh" ! 2 - a file handle is *not* to be confused with a file name
try : my $file_name = "somefile"; open(FILE_HANDLE, $file_name) or die ... ... your 'move' is now `mv $file_name /home/pravesh`; regards. Pravesh Biyani a écrit : > > HI > I define a file the following way: > > $FILE_HANDLE = "<<somefile"; > > then I openit > > open(FILEHANDLE); > > i perform some operations.. > > and then I want to transfer this "somefile" to some other directory > > but I am not able to use mv comand to do it > > for e.g > > ` mv $FILE_HANDLE /home/pravesh ` ; > > doesnt work!!! > > help needed! > > pravesh > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]