This is a rather basic perl/mysql question but I have searched and searched without finding an answer. I am faced with the following problem:
I have a perl script that I was to use to connect to a mysql database and print a backup to the screen, exactly what mysqldump does but I don't want to involve system files or directories - so get a backup from perl and print it directly.
Is this possible? I have viewed the mysql docs to see if I culd return a dump like output with a query but all I could find was SELECT INTO FILE.