Folks,
Just did a redhat 8.0 reinstall on my development laptop, which includes me pulling new stuff of CPAN. Anyhow, I discovered an error in CGI's endform() method in version 2.90. I've notified the author, but I thought the rest of you might like to know:
1624 #### Method: endform 1625 # End a form 1626 'endform' => <<'END_OF_FUNC', 1627 sub endform { 1628 my($self,@p) = self_or_default(@_); 1629 if ( $NOSTICKY ) { 1630 return wantarray ? ("</form>") : "\n</form>"; 1631 } else { 1632 return wantarray ? (("<div>",$self->get_fields,"</div>","</fo +rm>") : 1633 "<div>".$self->get_fields ."</div>\n</for +m>"; 1634 } 1635 } 1636 END_OF_FUNC
Line 1632 has an extra "(" in it. Take it out and you'll be good to go.
-Any sufficiently advanced technology is
indistinguishable from doubletalk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error in CGI.pm Version 2.90 endform method
by PodMaster (Abbot) on Feb 18, 2003 at 22:46 UTC | |
by Hero Zzyzzx (Curate) on Feb 19, 2003 at 01:32 UTC | |
|
Re: Error in CGI.pm Version 2.90 endform method
by Hero Zzyzzx (Curate) on Feb 18, 2003 at 16:59 UTC |