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).
|