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
}
And I get the error:
Can't find string terminator "EOHTML" anywhere before EOF at ./ajax.pl line
37.
What's wrong?
--
Pau Marc Muñoz Torres
Laboratori de Biologia Computacional
Institut de Biotecnologia i Biomedicina Vicent
Villar
Universitat Autonoma de Barcelona