Help for this page

Select Code to Download


  1. or download this
    
    my %fh; # key: path, value: filehandle
    ...
        }
        print {$fh{$path}} $text;
    }
    
  2. or download this
    my %paths = (
        LOG => '/path/to/log.txt',
    ...
       }
       print {$fh{$token}} $text;
    }