[ back to toc ]

perl special characters

Date: 2002/05/23 17:50

Q:
I have a very simple perl form that posts form data to a logfile running
on a unix platform. When I type special characters in the form (example:
~! @ # $ % ^ & * ( ) _ +) they do not translate correctly. (Example when
I type in a ( the results are ^. How can I correct this?
A:
Perl forms are a special way of magic. The character ( has a special
meaning in Perl forms. I wrote a tutorial in Hungarian about Perl forms,
but personally I never used them in real world application. Only for the
tutorial demos. Thus I recommend that you better use simple print
statements and not Perl forms.

Regards,
Peter

[ back to toc ]