On Sep 27, 10:41 am, [EMAIL PROTECTED] (Michael Barto) wrote: > Perl snippet question: > [snip] > > This above code produces "<div></div></form>". This ti me is odd, since > i only really want </form>. Does anyone have an explanation or another > way to use the CGI.pm library and produce only </form>. Yes I could just > use a print statement. But I am kind of curious to why?
You also see this with $ perl -MCGI -le'print CGI::end_form' <div></div></form> $ According to the CGI.pm ChangeLog, this is a bug that was fixed in 3.12. I think it has something to to with CGI.pm's sticky fields. OSX 10.4 comes with CGI 3.05. My Linux box with CGI 3.15 doesn't have this problem.