Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What is wrong here (Replacing Strin pieces) (tr)

by Anonymous Monk
on Jul 16, 2013 at 11:18 UTC ( #1044556=note: print w/ replies, xml ) Need Help??


in reply to What is wrong here (Replacing Strin pieces)

However what I want is to replace ever - with an ?. What am i doing wrong here?

You're guessing :) you skipped tr and perlintro#Regular expressions , especially the Simple substitution section

see how it runs with use re 'debug';


Comment on Re: What is wrong here (Replacing Strin pieces) (tr)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2014-11-28 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls