Have a simple perl script that will run a mysql dump, but I'm getting

Can't find string terminator '"' anywhere before EOF at ./ssh.pl line 5

My code, I assume the " is throwing it all off, but the / didn't help:

use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new("heaven.theflux.net");
    $ssh->login("root", "temp");
    $ssh->cmd("mysqldump -uroot -pnew-password -t -T/var/lib/mysql free
ExData --fields-enclosed-by=\"\ --fields-terminated-by=\|\");

Thank you for any and all assistance!

Regards,
Al

Reply via email to