Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: What operator prepends?

by Roy Johnson (Monsignor)
on Jan 25, 2006 at 14:17 UTC ( #525450=note: print w/ replies, xml ) Need Help??


in reply to What operator prepends?

It wasn't a useful enough operation to merit its own operator. However, you can use substr to much the same effect:

substr($str, 0, 0) = 'new prefix'; # or 4-arg form: substr($str, 0, 0, 'new prefix');

Caution: Contents may have been coded under pressure.


Comment on Re: What operator prepends?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-23 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls