birkey has asked for the wisdom of the Perl Monks concerning the following question:
output =I like the color $colormy $color=" blue"; my $string='I like the color $color'; print "$string\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: interpret variable in a single quoted string
by kennethk (Abbot) on Feb 08, 2011 at 21:07 UTC | |
by birkey (Initiate) on Feb 08, 2011 at 21:17 UTC | |
by AnomalousMonk (Archbishop) on Feb 08, 2011 at 23:34 UTC | |
|
Re: interpret variable in a single quoted string
by ikegami (Patriarch) on Feb 08, 2011 at 21:44 UTC |