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

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-06-22 21:38 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.