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