Help for this page

Select Code to Download


  1. or download this
    foreach my $key (@params) {
        print "$key = ";
    ...
        chomp $value;       # must at minimum be ""
        redo unless length  $value;  # rerun loop if value is empty string
    +.
    }
    
  2. or download this
    -e $settings{output} and die "File Exists..will not override!";
    
    open(OUT,">",$settings{output}) or die "Error while opening file: $!";
    
  3. or download this
    close IN  or warn "Error closing input $!\n";
    close OUT or warn "Error closing output $!\n";