Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    say *$fh{ IO }-> can( "print" ) ? "yes" : "no";     # no
    autoflush $fh 1;
    say *$fh{ IO }-> can( "print" ) ? "yes" : "no";     # yes
    
  2. or download this
    use strict;
    use warnings;
    ...
    __END__
    
    The IO::File class is missing the 'print' method