Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This works when I concat the strings before the here document. Is there a way to do this inside the here document section? I've tried:my $label = $_ . "Obsolete" . $timestamp;
But the $_ and Obsolete don't appear because Perl is looking for a scalar named _Obsolete. Thanks!Command -v$_Obsolete$timestamp
davorg: changed title to "Interpolation"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Forced Variable Intropolation In Here Document
by Masem (Monsignor) on Nov 27, 2001 at 22:59 UTC | |
|
Re: Forced Variable Intropolation In Here Document
by dws (Chancellor) on Nov 27, 2001 at 23:01 UTC | |
|
(tye)Re: Forced Variable Intropolation In Here Document
by tye (Sage) on Nov 27, 2001 at 23:33 UTC | |
|
Re: Forced Variable Intropolation In Here Document
by Dogma (Pilgrim) on Nov 28, 2001 at 00:12 UTC | |
by qslack (Scribe) on Nov 28, 2001 at 05:33 UTC |