Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How do I escape a "$" in the input stream

by projekt21 (Friar)
on Sep 10, 2002 at 09:19 UTC ( #196590=note: print w/replies, xml ) Need Help??


in reply to How do I escape a "$" in the input stream

It's your shell, not perl. Try:

> echo "This is $200" This is 00 > echo "This is \$200" This is $200 > echo 'This is $200' This is $200

So use a backslash or single quotes, not doubles.

alex pleiner <alex@zeitform.de>
zeitform Internet Dienste

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-04-11 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?