<Somehow my data is being transformed. <The CGI code is:
<#/bin/perl <use CGI::Util qw( escape unescape make_attributes ); <use CGI; <use CGI qw( escapeHTML ); <my $q = new CGI; <my $data = $q->param( 'POSTDATA' ); <print STDERR $data ."\n"; <The output is: <?xml version="1.0"?><event> <type>ADD</type> <message> <custID>6ec973aa3f7a96e43f86b8d2aea0585ba3096c28</custID> <custANI>5551313</custANI> <msgtype>SMS</msgtype> <SMSTarget>15551212</SMSTarget> <SMSMessage>Test message sent from script %%DNAME%% %\xdaTE%% </SMSMessage> <status>ALERT</status> </message> </event> <And the input is: <POSTDATA=<?xml version="1.0"?><event> <type>ADD</type> <message> <custID>6ec973aa3f7a96e43f86b8d2aea0585ba3096c28</custID> <custANI>5551313</custANI> <msgtype>SMS</msgtype> <SMSTarget>15551212</SMSTarget> <SMSMessage>Test message sent from script %%DNAME%% %%DATE%% </SMSMessage> <status>ALERT</status> </message> </event> <any thoughts on why %%DATE%% is being transformed into %\xdaTE%% ? Just a question, should the first line be "#!/bin/perl" instead of "#/bin/perl" ? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/