Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: how to output special characters?

by stephen (Priest)
on Jul 11, 2008 at 20:58 UTC ( #697085=note: print w/replies, xml ) Need Help??

in reply to how to output special characters?

If you want to print a control character, you need to escape it with "\c". So:
print "Here is ^A: \cA Here is ^B: \cB";
Of course, as stated above, you won't be able to see those control characters since they're invisible.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://697085]
[Discipulus]: which node yesterday?
[Discipulus]: i cannot see any link to tye post..
[Lady_Aleena]: Hello.
[marto]: teleconf + coffee, I'll post it in a few mins
[beech]: fencepost?
beech is protected with velcro
[Lady_Aleena]: How is velco protective? It sticks to a lot of things.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-06-23 08:53 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (538 votes). Check out past polls.