in reply to Re: Perl Warning Help
in thread Perl Warning Help

Try unlink

unlink $fn;

Addendum: Does $fn ever have spaces or forward slashes in it? If so, I'd guess that's what's causing your problems handing it off to system.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^3: Perl Warning Help
by Arcane (Initiate) on Nov 28, 2005 at 16:09 UTC
    that worked....thanks for your help