Loading ...
Sorry, an error occurred while loading the content.

What is $|

Expand Messages
  • keslerdan
    I have seen $|=1 or $|++; What is it? tia - Danny
    Message 1 of 3 , Jun 5, 2002
    • 0 Attachment
      I have seen $|=1 or $|++;
      What is it?
      tia - Danny
    • Jeff 'japhy' Pinyan
      ... $| is explained in perlvar. It s the output-autoflush variable. If true, output is automatically flushed after every print(). If false, output is
      Message 2 of 3 , Jun 5, 2002
      • 0 Attachment
        On Jun 5, keslerdan said:

        >I have seen $|=1 or $|++;

        $| is explained in perlvar. It's the output-autoflush variable. If true,
        output is automatically flushed after every print(). If false, output is
        buffered.

        --
        Jeff "japhy" Pinyan japhy@... http://www.pobox.com/~japhy/
        RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
        ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
        <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
        [ I'm looking for programming work. If you like my work, let me know. ]
      • keslerdan
        ... If true, ... output is ... http://www.pobox.com/~japhy/ ... http://www.cpan.org/ ... 2002 ** ... course. ... know. ]
        Message 3 of 3 , Jun 5, 2002
        • 0 Attachment
          --- In perl-beginner@y..., Jeff 'japhy' Pinyan <japhy@p...> wrote:
          > On Jun 5, keslerdan said:
          >
          > >I have seen $|=1 or $|++;
          >
          > $| is explained in perlvar. It's the output-autoflush variable.
          If true,
          > output is automatically flushed after every print(). If false,
          output is
          > buffered.
          >
          > --
          > Jeff "japhy" Pinyan japhy@p...
          http://www.pobox.com/~japhy/
          > RPI Acacia brother #734 http://www.perlmonks.org/
          http://www.cpan.org/
          > ** Look for "Regular Expressions in Perl" published by Manning, in
          2002 **
          > <stu> what does y/// stand for? <tenderpuss> why, yansliterate of
          course.
          > [ I'm looking for programming work. If you like my work, let me
          know. ]
        Your message has been successfully submitted and would be delivered to recipients shortly.