samuurai
03-17-2008, 05:58 PM
Hi,
I'm new to perl and i'm writing a simple backup script.
I want to supply the script with a top-level directory, then have it iterate through the directories and backing each one up individually.
How do I execute a shell command then capture the results into an array?
I know the shell command, I just need to know the programming side.
Any clues?
Thanks!
Beren
I'm new to perl and i'm writing a simple backup script.
I want to supply the script with a top-level directory, then have it iterate through the directories and backing each one up individually.
How do I execute a shell command then capture the results into an array?
I know the shell command, I just need to know the programming side.
Any clues?
Thanks!
Beren