Help for this page

Select Code to Download


  1. or download this
    foreach(@files){
        if(/\.csv$/i) { # if the filename has .csv at the end
            push(@csvfiles,$_);
    ...
        close(hanw);
        close(hanr);
    }
    
  2. or download this
    @$row = split(/,/, $line );
        push @$sheet2 , $row;
    }
    ...
    {
        *print hanw join (',', @$row ),"\n";
    }