Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 lurking in the Monastery: (18)
As of 2015-07-01 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (17 votes), past polls