in reply to system and pipes

Despite it works using system() function as told before, you may want to test using Perl modules that implements the functions that you want (tar and ssh) instead of making systems calls. You will have more control of what is happening and making your program more secure too.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill