in reply to Tar a files

For taking tar, Use Archive::Tar module.