Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Escape Quote-Like Operators

by Not_a_Number (Parson)
on Sep 11, 2013 at 19:52 UTC ( #1053556=note: print w/ replies, xml ) Need Help??


in reply to Escape Quote-Like Operators

No idea what your context is, but just to replace a number higher than 10 by 'm', lower or equal by 'n', what's wrong with this?:

$_=$_>10?'m':n;


Comment on Re: Escape Quote-Like Operators
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2015-07-03 13:15 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 (53 votes), past polls