Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Help in putting "$" as part of output

by hexcoder (Curate)
on Mar 11, 2016 at 08:59 UTC ( [id://1157407]=note: print w/replies, xml ) Need Help??


in reply to Help in putting "$" as part of output

Replace

my $head1="$...";

with

my $head1='$...';

This should work as long as there are no single quotes ' in your string.

my $head1=q{$...}; works too. For details see Quote and Quote like Operators

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-18 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found