Hi,
I'm having problem with the UNLINK PERL command under embperl...
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]