Help for this page

Select Code to Download


  1. or download this
    while (my $line = <DATA>) {
        chomp $line;
    ...
        unless $line =~ /\S/;
        ...
    }
    
  2. or download this
    my $dir = "$base_dir/$filepath"
    do { mkpath $dir; print "Made $dir\n"; } unless -d $dir;
    
  3. or download this
    warn "Line: ==$line==";
    my ($filename, $filepath) = split '\t', $line;
    warn "filename: '$filename' --- filepath: '$filepath'";