Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: Re: Re: Re: NO PERL 6

by John M. Dlugosz (Monsignor)
on Dec 16, 2002 at 20:51 UTC ( #220350=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Re: Re: NO PERL 6
in thread NO PERL 6

We don't need a concatenation operator at all. Just use the new-improved string interpolation: "$(expression-1)$(expression-2)". In fact, since most explicit cases of concatenation are for when interpolation isn't good enough (e.g. an expression not a single variable) this will take care of most of today's uses.

When you want to make it clear that you're concatenating something, why have a small syntax? Seems to me you are asking for big syntax, to emphasize the thing. So just use join with an empty first argument (no separate cat function needed.


I started a new top-level thread here. This is already too deep!

Edit by tye to fix link

Comment on Re: Re: Re: Re: Re: NO PERL 6
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: NO PERL 6
by Elian (Parson) on Dec 17, 2002 at 00:01 UTC
    There wasn't there... something go wrong somewhere?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://220350]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-05-25 12:03 GMT
Find Nodes?
    Voting Booth?