read not sysread?

[prev] [thread] [next] [Date index for 2004/11/17]

From: Sean T Allen
Subject: read not sysread?
Date: 18:15 on 17 Nov 2004
--------------090406080802040607070206
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

using 1.99_17...

moved code to a new machine that i built as compared to a pre-existing 
machine running... 1.99_07-dev

i have a stripped down CGI reading routine...

        eval ( "sysread( \STDIN, \$input, $ENV{ 'CONTENT_LENGTH' } )" );

doesnt read anything

but

            read( STDIN, $input, $ENV{ 'CONTENT_LENGTH' } );

does

there is a warning in the error log for the line that the eval is on:

Unrecognized escape \S passed through at /ai/toppik/lib/Infant/CGI.pm 
line 484.

any quick help on fixing this problem is appreciated. or actually just 
an explaination...

if i had built the preeceeding server i could probably track down why it 
works there
and not here... but i didn't so... any pointers re what is the right 
direction to look
are greatly appreciated.




--------------090406080802040607070206
Content-Type: text/x-vcard; charset=utf-8;
 name="sean.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="sean.vcf"

begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:USA Herbals, LLC
email;internet:sean@xxxxxxxxxx.xxx
title:Tech Guru
tel;work:718-388-5424
x-mozilla-html:FALSE
version:2.1
end:vcard



--------------090406080802040607070206
Content-Type: text/plain; charset=us-ascii

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
--------------090406080802040607070206--

read not sysread?
Sean T Allen 18:15 on 17 Nov 2004

Re: read not sysread?
Stas Bekman 21:51 on 17 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52