Re: passing perl variable to output html file
From: Joe Smith (joe_at_inwap.com)
Date: 03/27/05
- Previous message: Jürgen Exner: "Re: Creating a variable using a for() loop???"
- In reply to: andy.t.chou_at_gmail.com: "passing perl variable to output html file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 26 Mar 2005 17:24:27 -0800
andy.t.chou@gmail.com wrote:
> the debug print statements print out $first_name and $last_name instead
> of the values that they are suppose to have.
You have made as mistake in understanding perl's quoted strings.
$first_name = 'Joe';
$last_name = 'Smith';
print 'Using single quotes: $first_name $last_name\n';
print "Using double quotes: $first_name $last_name\n";
- Previous message: Jürgen Exner: "Re: Creating a variable using a for() loop???"
- In reply to: andy.t.chou_at_gmail.com: "passing perl variable to output html file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|