Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by John M. Dlugosz (Monsignor)
on Dec 16, 2002 at 20:51 UTC ( [id://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.

—John

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

Edit by tye to fix link

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-26 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found