in reply to •Re: Use B::Deparse to see why
in thread Surprising whitespace behavior
@-interpolation in a string dates back to Perl version 5.000.
Oh, you young'uns. (:
It dates back way before that. I've personally used @-interpolation in strings in Perl v3.
> perl4 -e "print qq<(tye@ARGV)\n>" this that (tyethis that) > perl4 -e "print qq<(tye@foo)\n>" this that (tye@foo)
What changed with Perl5 was that the DWIM of optional interpolation was removed.
The only reason the second example needs to be fatal in Perl5 is so that the change in behavior was not a "silent change".
I suspect you know all of this, but your node was at least misleading so I felt clarification was in order.
|Replies are listed 'Best First'.|
•Re^3: Use B::Deparse to see why (age)
by merlyn (Sage) on Sep 23, 2004 at 16:23 UTC
In Section Seekers of Perl Wisdom