I have seen that special variable in CGI scripts, mostly. Well, i started unstartanding what that actually does.
Thanks for your help John ----- Original Message ----- From: "Wiggins d'Anconia" <[EMAIL PROTECTED]> To: "John" <[EMAIL PROTECTED]> Cc: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 5:32 PM Subject: Re: What $| actually does? > John wrote: > > Why the $I is required in a perl script? ( Does it help the perl to handle dynamically the memory?) > > Special variables like these can be looked up in perldoc perlvar, from > that doc: > > "$OUTPUT_AUTOFLUSH > $? If set to nonzero, forces a flush right away and after every > write or print on the currently selected output channel. > Default is 0 (regardless of whether the channel is really > buffered by the system or not; $? tells you only whether youʼve > asked Perl explicitly to flush after each write). STDOUT will > typically be line buffered if output is to the terminal and > block buffered otherwise. Setting this variable is useful pri- > marily when you are outputting to a pipe or socket, such as > when you are running a Perl program under rsh and want to see > the output as itʼs happening. This has no effect on input > buffering. See "getc" in perlfunc for that. (Mnemonic: when > you want your pipes to be piping hot.)" > > > Get it or no? > > http://danconia.org > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]