Help for this page

Select Code to Download


  1. or download this
    $ cat flush.pl
    use warnings;
    ...
    open(my $fh, '> /dev/null');
    
    flush $fh;
    
  2. or download this
    $ perl -MO=Deparse flush.pl
    use warnings;
    ...
    open my $fh, '> /dev/null';
    $fh->flush;
    flush.pl syntax OK