Try changing $title = $query->param("Title"); to
$title = $query->param('Title'); and do the same thing for the owner param Also, if you have an if statement that only executes one line of code when the statement evaluates true, you can do this: $Meta = "<META NAME=\"AUTHOR\" CONTENT=\"$title\">\n" if ($title ne ""); IMHO, this is much "cleaner", just thought I would throw that in there. Steven Kreuzer Linux Systems Administrator Etagon, Inc W: 646.728.0656 F: 646.728.0607 E: [EMAIL PROTECTED] -----Original Message----- From: Albert Browne [mailto:[EMAIL PROTECTED] Sent: Friday, December 26, 2003 11:16 AM To: [EMAIL PROTECTED] Subject: Newbie problems with > in a string I am using the code below in part of a subroutine. It displays ok later in the routine within a <TEXTAREA> block. But when I try to use $Meta elsewhere the string appears to be empty. Further investigation shows the string is ok until it gets to the > in the string. The string looks like this and does in the TEXTAREA block<META NAME=\"AUTHOR\" CONTENT=\"AAA\"> which is correct. I have tried printing the string a bit at a time it is ok until it gets to the >. The string then appears to be empty. What am I missing? Regards Albert $title = $query->param("Title"); if ($title ne "") {$Meta = "<META NAME=\"AUTHOR\" CONTENT=\"$title\">\n"} ; $Owner = $query->param("Owner"); if ($Author ne "") {$Meta .= "<META NAME=\"AUTHOR\" CONTENT=\"$Owner\">\n"} ; -- [EMAIL PROTECTED] http://www.allroadsleadhere.co.uk -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>