[comp.lang.perl] Thanks for your patience...

roy%cybrspc@cs.umn.edu (Roy M. Silvernail) (12/11/90)

(seeing as I have been asking RTFM questions for 2 days... )

The PL41 difficulties I have had are now resolved. For those who might
have had similar questions... (talking about Len's MS-DOS version)

PL41 seems to want STDOUT to be specifically unbuffered with

select(STDOUT); $| = 1;

so as not to save output until the program terminates. (output was only
'saved' after issuing a piped command to the OS) This is different from
PL18, which flushed STDOUT after every print by default, regardless of
whether piped input was read.

Binmode works just dandy if called after the open, and called with the
file _handle_. (somehow, I had tried calling it with the filename...
and, of course, nothing changed)

Tom, you can quit groaning now. ;-)
--
Roy M. Silvernail |+|  roy%cybrspc@cs.umn.edu  |+| #define opinions ALL_MINE;
   d:\perl\perl -e 'print "Just another PERL newbie, but I'm learning!\n"'
"This is cyberspace." -- Peter da Silva  :--:  "...and I like it here!" -- me

--
Roy M. Silvernail |+|  roy%cybrspc@cs.umn.edu  |+| #define opinions ALL_MINE;
main(){float x=1;x=x/50;printf("It's only $%.2f, but it's my $%.2f!\n",x,x);}
"This is cyberspace." -- Peter da Silva  :--:  "...and I like it here!" -- me