[lug] Print warnings from Perl...

Chip Atkinson chip at rmpg.org
Tue Jan 21 14:36:46 MST 2003


Greetings,

I'm trying to print a close parenthesis ()) in perl and get warnings when
trying to do so when using the -w option.  Any ideas on how to stop the
warnings?

Here's the program and output:

chip 17> perl -w syn.pl
print (...) interpreted as function at syn.pl line 4.
print (...) interpreted as function at syn.pl line 5.
print (...) interpreted as function at syn.pl line 6.
X
)
\))

chip 18> cat syn.pl
#!/usr/bin/perl

print ("X\n");
print ("\)\n");
print ('\)');
print (")\n");


chip 19>


Thanks in advance for any insight.

Chip




More information about the LUG mailing list