Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: What operator prepends?

by swampyankee (Parson)
on Jan 26, 2006 at 03:46 UTC ( #525637=note: print w/replies, xml ) Need Help??


in reply to Re^3: What operator prepends?
in thread What operator prepends?

I also tend to create my strings from left to right, probably because that's how I tend to write. I add stuff to the end -- push vs unshift -- so a "prepend" operator is not something I would think to include in a language design.

Perhaps inaccurately, I don't think of .= the "append" operator; I think of it as an abbreviation for $string = $string . $more.

emc

" When in doubt, use brute force." — Ken Thompson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525637]
help
Chatterbox?
[Corion]: A good morning everybody!
Corion watches with pleasure that Future::AsyncAwait now also works on 5.16. I think 5.14 is a good baseline for "modern" Perl, and that's only one release away from 5.16
[Corion]: (and I really like the async and await keywords as they do away with lots of anonymous subroutines)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-01-24 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (256 votes). Check out past polls.

    Notices?