Hi,
        I'm trying deleting some files whith the unlink perl command, under a 
perl script works pefect, but under embperl it's not working...
This is my example code, copy works, rename works, but unlink no...
I can't figure out what it's going on... Can someone help me? Thanks 
:+)  

embperl code:

[-
use File::Copy;
$imbox="/var/www/html/interface/mail";
$home="/var/www/html/interface/mail/home";
$vol="dirvol2";
$file="1017708295.5733.nono";
$tmp="$file.tmp";
copy ("$imbox/$file","$home/$vol/$tmp");
rename ("$home/$vol/$tmp", "$home/$vol/$file");
unlink ("$imbox/$file");
-]



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

Reply via email to