Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    print $str;#the content is there before close
    close FILE;
    print $str; #the content is still there after close
    
  2. or download this
    use Net::Telnet;
    
    ...
    $t->close();
    print "\$str content:\n";
    print $str;