[Solved] Can't find string terminator

2012-05-10 Thread Alvin Ramos
Thanks for your help "qq{mysqldump ..." worked perfectly! On May 9, 2012, at 10:44 PM, Owen wrote: > 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 fi

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

Re: Can't find string terminator

2012-05-09 Thread Michael Brader
s-enclosed-by='"' --fields-terminated-by='|'} ); Cheers, Michael On 05/10/2012 11:32 AM, 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 l

Can't find string terminator

2012-05-09 Thread Alvin Ramos
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-&

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
} > > > > sub Show_HTML { > > my $html = < > > > > > Enter something: > > > onkeyup="exported_func( ['val1'], ['resultdiv'] );"> > > > > > > > > > > EOHTML

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

2008-04-04 Thread Rob Dixon
t ); > } > > sub Show_HTML { > my $html = < > > Enter something: > onkeyup="exported_func( ['val1'], ['resultdiv'] );"> > > > > > EOHTML > return $html; > } > &

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

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

2008-04-04 Thread Pau Marc Munoz Torres
\&Show_HTML); sub perl_func { my $input = shift; # do something with $input my $output = $input . " was the input!"; return( $output ); } sub Show_HTML { my $html = < Enter something: EOHTML return $html;