Help for this page

Select Code to Download


  1. or download this
    ...
    use strict;
    use warnings;
    use autodie;
    ...
    
  2. or download this
    open my $out_fh, '>', '/path/to/output_file';
    
  3. or download this
    my %doc_fh_for = (File0 => \*FILE0, File1 => \*FILE1, File2 => \*FILE2
    +);
    
  4. or download this
    my %source_file_for = (File0 => 'filename0', File1 => 'filename1', Fil
    +e2 => 'filename2');
    
  5. or download this
    for (@feature_files) {
        open my $in_fh, '<', $source_file_for{$_};
        write_xml_content($_, $in_fh, $out_fh, ' ' x 8);
        close $in_fh;
    }