Re: Do i run a script with do{} or make it a module? Opinions.

2003-08-27 Thread zanardi2k3
Rob Dixon wrote: > The old 'wrap or rewrite' problem. > > MO is to rewrite. Always. unless you have an 'infinite number of > monkeys' or your source is massive. Most will disagree. The fact is, i don't want to change what my script does: i want to use it to do something more. So i don't think i

Re: Do i run a script with do{} or make it a module? Opinions.

2003-08-27 Thread zanardi2k3
Rob Dixon wrote: > Your question is too long. I will surely follow your direction, though my message was verbose because, as i stated in the first line, it was not a technical problem but more of a coding-philosphical one. I think code is little relevant in this case, but i'll post it at the b

Re: Do i run a script with do{} or make it a module? Opinions.

2003-08-26 Thread Rob Dixon
Jenda wrote: > > From: zanardi2k3 <[EMAIL PROTECTED]> > > That poses the problem of executing my script for several folders, > > with different parameters for each of them. Now i'm wondering if i > > have to include the possibility of multiple "backups" in the script > > itself, if i better write a

Re: Do i run a script with do{} or make it a module? Opinions.

2003-08-26 Thread Jenda Krynicky
From: zanardi2k3 <[EMAIL PROTECTED]> > That poses the problem of executing my script for several folders, > with different parameters for each of them. Now i'm wondering if i > have to include the possibility of multiple "backups" in the script > itself, if i better write another script that calls

Re: Do i run a script with do{} or make it a module? Opinions.

2003-08-26 Thread Rob Dixon
Zanardi2k3 wrote: > > Hello, not a technical problem, i'm just looking for opinions. > > Using "Archive::Zip", i made a script with the main purpose of making a > quick backup of a folder and all its subfolders in a zip file. > > The script can take a few parameters: > - the main folder backup (man

Do i run a script with do{} or make it a module? Opinions.

2003-08-26 Thread zanardi2k3
Hello, not a technical problem, i'm just looking for opinions. Using "Archive::Zip", i made a script with the main purpose of making a quick backup of a folder and all its subfolders in a zip file. The script can take a few parameters: - the main folder backup (mandatory); - the full path of the