Re: Can't find string terminator

2012-05-09 Thread Owen
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

Re: Can't find string terminator

2012-05-09 Thread Michael Brader
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=|

Re: Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Rob Dixon
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

Re: Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Pau Marc Munoz Torres
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

Re: Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Rob Dixon
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 ); > >

Re: Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Jenda Krynicky
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