Lightning flashed, thunder crashed and Nathan Wiger <[EMAIL PROTECTED]> whisper ed: | Under this proposal, string concatenation would be acheived by the | *combination* of "" and +. So, in Perl 5 you would have something like | this: | | $string3 = $string1 . $string2; | | In Perl 6, you would do this like so: | | $string3 = "$string1" + "$string2"; Once you go this route, you've pretty much destroyed the usefulness of having a concat operator. It is far less typing to do $string3 = "$string1$string2"; I've seen someone say something about concating a large list of scalars. Can you imagine: $longstring = "$short" + "$another" + "$andathird" + "$andafourth" + "$onemore" + "$okanother" +"$wowlots" .... Personally, my fingers got really tired of having to use the shift key for all the quotes, the $, and the +. Of course, I'd normally just write that as $longstring = join('', $short, $another, ... , $wowlots); -spp
- Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Michael G Schwern
- Re: Sane "+" string concat proposal Dan Brian
- Re: Sane "+" string concat proposal Jonathan Scott Duff
- Re: Sane "+" string concat proposal John Porter
- recap on new operators? Dave Storrs
- Re: Sane "+" string concat proposal Mark Koopman
- Re: Sane "+" string concat proposal Michael G Schwern
- Re: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Stephen P. Potter
- Re: Sane "+" string concat proposal Austin Hastings
- Re: Sane "+" string concat proposal jc vazquez
- Re: Sane "+" string concat proposal Michael G Schwern
- Re: Sane "+" string concat proposal Casey West
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Dan Brian
- Re: Sane "+" string concat proposal Nathan Wiger
- Re: Sane "+" string concat proposal Stephen P. Potter