I would like to write a Perl script that will run pg_dumpall, for backup purposes. I am hoping to run this script via the crontab nightly. My question is does anyone know of any resources that will assist me in the code for this script, or any examples of executing Postgres commands in a Perl script? Any help is greatly appreciated. Thanks in advance! Jim