What contents does $old_title have? The Code is nearly allright: It renames 'archive.txt' to whatever is in $the_old_title and $the_old title is wahetevr was in $old_title with appended '.shtml'. You can rely on that.
What is actually happening?
Please check `perldoc -q "quoting.*vars"`!
--In reply to Re: Rename problem
by fruiture
in thread Rename problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |