develooper Front page | perl.perl5.porters | Postings from April 2000

Re: [ID 20000403.009] uninitialised concatenation???

From:
Ronald J Kimball
Date:
April 4, 2000 08:13
Subject:
Re: [ID 20000403.009] uninitialised concatenation???
Message ID:
20000404111248.D299251@linguist.dartmouth.edu
On Tue, Apr 04, 2000 at 08:59:46AM -0600, Tom Christiansen wrote:
> >On the other hand, the Perl programmer has not explicitly defined string
> >interpolation to be the same as string concatenation.  
> 
> That's right: the user has not--the language has.
> 
> >That is an
> >implementation detail of the Perl compiler.  The programmer should not be
> >required to know the internals of the compiler.
> 
> "String interpolation is a form of concatenation."  I'm sure it
> says that somewhere.

I'm not sure it does...  I looked through perlop and grepped all the pod
for 'interpo' and 'concat' on the same or adjacent lines, but didn't find
that.

Anyway, why shouldn't it say that in the warning message as well?  If we
want to educate people that string interpolation is the same as
concatenation, that seems like a good place to do it.


Ronald



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About