Dear Pam,

Obviously, $title is undef.  This is a great example for warnings &
strict, as otherwise this would just silently not do what you want.

Your task is to move the text within the <h1> tags to the <title>
tags.  You are processing the file, line by line.  When can you expect
to know the page title?  Not until after you find the <title> tags!

Jonathan Paton

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to