On Wed, 9 May 2012 22:02:00 -0400
Alvin Ramos wrote:
> 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
The error is telling you exactly what the problem is, your final terminator
is missing (because you've quoted it). To save you all that backwhacking,
consider using qq:
$ssh->cmd( qq{mysqldump -uroot -pnew-password -t -T/var/lib/mysql free
ExData --fields-enclosed-by=" --fields-terminated-by=|
Pau Marc Munoz Torres wrote:
> mmm
>
> i did in a single line and i keep havinh the problem
>
> my $html = EOHTML
>
> return $html;
You misunderstand me. EOHTML must appear in a line on its
mmm
i did in a single line and i keep havinh the problem
my $html = :
>
> Pau Marc Munoz Torres wrote:
> > Hi
> >
> > I just copied this script from CGI::Ajax manual at cpan.org page
> >
> > use stric
Pau Marc Munoz Torres wrote:
> Hi
>
> I just copied this script from CGI::Ajax manual at cpan.org page
>
> use strict;
> use CGI; # or any other CGI:: form handler/decoder
> use CGI::Ajax;
>
> my $cgi = new CGI;
> my $pjx = new CGI::Ajax( 'exported_func' => \&perl_func );
>
>
From: "Pau Marc Munoz Torres" <[EMAIL PROTECTED]>
> I just copied this script from CGI::Ajax manual at cpan.org page
>
> use strict;
> use CGI; # or any other CGI:: form handler/decoder
> use CGI::Ajax;
>
> my $cgi = new CGI;
> my $pjx = new CGI::Ajax( 'exported_func' => \&perl_fu