[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: patch for perldata.pod coming soon
Jeff Pinyan writes:
> $bar = "four";
> print << "three $bar";
> one two
> three four
> one two
> three $bar
>
> The $bar is not interpolated in the here-doc initializer. The double
> quotes only dictate the interpolation of the here-doc. I think this could
> use documenting. No sense in specifically leaving it out.
Your here-doc initializer is not "three $bar". It is empty.
Hope this hurts, ;-)
Ilya
- Follow-Ups from:
-
Jeff Pinyan <jeffp@crusoe.net>
- References to:
-
Jeff Pinyan <jeffp@crusoe.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]