can i convert the file to unix format before tarring it up ? Any other ideas??? Thanksopen(FilesToPut, "test.txt") or die "can't open test.txt: $!"; my $tar = Archive::Tar->new(); while (<FilesToPut>) { chomp; $tar->add_files($_); } $tar->write('test.tar'); }
In reply to Dos to Unix conversion by perl_99_monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |