diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-13 16:21:45 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-13 16:21:45 +0000 |
commit | a3b3a725123756b5ec0b93cd7b5d09df4c2baf86 (patch) | |
tree | ddaf10ae2aeb2844e310cfcb292ffb9ffccb7868 /t | |
parent | 69f2e79da25b5a49598cf5c7f87472a2f9d99f7b (diff) | |
download | perl-a3b3a725123756b5ec0b93cd7b5d09df4c2baf86.tar.gz |
Upgrade to CGI 2.71, from Lincoln Stein.
p4raw-id: //depot/perl@6611
Diffstat (limited to 't')
-rwxr-xr-x | t/lib/cgi-function.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/lib/cgi-function.t b/t/lib/cgi-function.t index 46d077bc7f..234bb9effa 100755 --- a/t/lib/cgi-function.t +++ b/t/lib/cgi-function.t @@ -27,6 +27,15 @@ sub test { my $CRLF = "\015\012"; +# A peculiarity of sending "\n" through MBX|Socket|web-server on VMS +# is that a CR character gets inserted automatically in the web server +# case but not internal to perl's double quoted strings "\n". This +# test would need to be modified to use the "\015\012" on VMS if it +# were actually run through a web server. +# Thanks to Peter Prymmer for this + +if ($^O eq 'VMS') { $CRLF = "\n"; } + # Set up a CGI environment $ENV{REQUEST_METHOD}='GET'; $ENV{QUERY_STRING} ='game=chess&game=checkers&weather=dull'; |