Hello,
I have a perl script that check some data in a mysql database.
After that I run the mysql dump like that:
exec( "$dumper -v -$dbexp > $dumpfile" ) or die "Backup Failed ... exiting";
How can I check the return code of this command ? Something like in unix scripts ?
Thnaks for your help ?
I have a perl script that check some data in a mysql database.
After that I run the mysql dump like that:
exec( "$dumper -v -$dbexp > $dumpfile" ) or die "Backup Failed ... exiting";
How can I check the return code of this command ? Something like in unix scripts ?
Thnaks for your help ?