On Sat, 2006-08-19 at 16:59 -0400, John Ackley wrote: > Thanks > > in line comments > > Tom Phoenix wrote: > > On 8/19/06, John Ackley <[EMAIL PROTECTED]> wrote: > > > >> `/bin/rm -f \"$oldimage\"`; > >> `/bin/rm /tmp/errormessage`; > > > > Why not simply use Perl's unlink function? > > apparently unlink will not deal with wild cards in $oldimage > (needed to clean up garbage)
>From memory works for me... unlink( glob( $oldimage ) ); Ken Foskey FOSS programmer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>