Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: current directory

by Athanasius (Archbishop)
on Jul 01, 2013 at 04:13 UTC ( [id://1041727] : note . print w/replies, xml ) Need Help??

in reply to current directory

Try this, from unlink:

unlink $rm_file or warn "Could not unlink $rm_file: $!";

and the error message (if any) should provide some indication as to what is going wrong.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: current directory
by Anonymous Monk on Jul 01, 2013 at 04:17 UTC
    hey it says "permission denied "

      Hey, you just discovered your problem (and it ain't Perl).