Help for this page

Select Code to Download


  1. or download this
    open my $filehandle, '>', $filename or die "$!";
    
  2. or download this
    use IO:Tee;
    
    ...
    open my $output_handle, '>', $out_filename or die "$!";
    
    $generic_handle = IO::Tee->new($input_handle, $output_handle);