Justin Allegakoen wrote:
>> Hi All,
>> I know this is a bit off topic, but I couldn't think of a list that
>> would have as much IIS/CGI knowledge as you guys.
>>
>> $*ERR = open("C:/inetpub/wwwroot/cgi-bin/perl6/err.txt", :w);
>> my $crlf = "\x[0D]\x[0A]";
>> $*OUT.say( "Content-Type: text/html$crlf$crlf" );
>> $*OUT.say( 'hello' );
>> #$*ERR.say( 'hello' );
>>
>>
> Lyle,
>
> I havent played too much with perl6 or IIS7, but I would hazard a guess that
> the open on err.txt is failing. Have you tried a bare bones version without
> opening any files? i.e. just printing out the Content-Type and hello with
> say without any filehandles prepended.
>
I started with a very simple script, that didn't work. I added in the
extra stuff to see what is going on. The open on err.txt is working to
as the file gets written to. As far as I can tell it executes and
completes as it should, just IIS doesn't pickup any of the output. This
is what I started with:-
#!c:/temp/rakudo/perl6.exe
say( "Content-Type: text/html\r\n\r\n" );
say( 'hello' );
As I said, they all work on Vista/Apache.
Lyle
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs