in reply to Rename problem

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"`!

--
http://fruiture.de

Replies are listed 'Best First'.
Re: Re: Rename problem
by Anonymous Monk on Nov 22, 2002 at 17:21 UTC
    What contents does $old_title have?
    $old_title is just a string of chars.
    What is actually happening? the resulting name is incorrect. It is missing the file extension ie .shtml