Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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.

—John

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
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
Node Status?
node history
Node Type: note [id://220350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-09-19 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls