do the trick for you?END {defined $old_name and defined $new_name and rename($old_name, $new_name) || warn "Oops: $!"}
In reply to Re: Perl action on cancellation
by Anonymous Monk
in thread Perl action on cancellation
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |