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

Re: Question regarding printing Special Characters in perl

by eyepopslikeamosquito (Canon)
on Jan 05, 2013 at 01:39 UTC ( #1011752=note: print w/ replies, xml ) Need Help??


in reply to Question regarding printing Special Characters in perl

Rather than your vague problem description, in future please provide a precise, specific code snippet (embedded in <CODE>...</CODE> tags) of what is not working for you.

An example of such a specific code snippet is:

use strict; use warnings; print "module( ... ... \$display(\"The time is %d\",\$time)\n";
which works for me, printing:
module( ... ... $display("The time is %d",$time)
You might consider using single quotes or here documents for this type of thing (see the links provided by anonymonk above for details).


Comment on Re: Question regarding printing Special Characters in perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2015-07-06 07:42 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 (70 votes), past polls