----- Original Message ----- From: "Rob Roudebush" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 10:39 PM Subject: Expanding param("someinput") in here document
> > I'm trying to avoid assigning each param("somekey") to a variable in order to expand it in my here document. > I can refer to it as a hash element without any variable assignment using - print param("somekey"); - but I don't want to have to use print statements instead of a here document to display it to a Web page. > Any help? Well, since param is a funtion, you'll need to assign it to a variable. my $name = param('name'); print <<HTML; Your name is $name. HTML Joshua -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]