On Tue, 4 Mar 2003 at 08:12, Todd W opined:

TW:my( $string ) = "you ordered $q->param('quantity') foobars\n";
TW:
TW:The quoting mechanism knows nothing about evaluating expressions. That's
TW:what concatenation is for:
TW:
TW:my( $string ) = "you ordered " . $q->param('quantity') . " foobars\n";

or sprintf:

my $string = sprintf "you ordered %d foobars", $q->param('quantity');


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to