Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    open( my $output, ">", "port.txt" ) or die $!;
    print {$output} "$_\n" for @result;
    close($output);
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    MCE::Flow->finish();
    close($output);