perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerardo Schimpf <sch...@bibleinfo.com>
Subject embperl unlink problem...
Date Thu, 25 Jul 2002 03:17:40 GMT
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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message