Re: Why am I getting the error (Maybe you meant system() when you said exec()?) ??

2007-06-16 Thread jreljac
Thanks all...that was a huge help. Once I changed to system() everything started to work as I wanted it to. Thanks again, Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Why am I getting the error (Maybe you meant system() when you said exec()?) ??

2007-06-15 Thread jreljac
Howdy, Please be gentle, I'm a perl novice to say the least. I have the following script (called bk.pl right now) : foreach $argnum (0 .. $#ARGV) { my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime time; exec ("mysqldump --user=*** --password=*** $ARGV[$argnum]