NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item716: Ambigous print in CompareRevisionsAddOn
I was testing
CompareRevisionsAddOn and I got this line at
error.log:
compare: print() on unopened filehandle end_html at /tmp/trunk/core/lib/Foswiki/Contrib/CompareRevisionsAddOn/Compare.pm line 288
In that line we read:
print CGI::end_html;
It seems that
perl thinks
CGI::end_html is a filehandle... adding parenthesis solves the issue:
print CGI::end_html();
--
GilmarSantosJr - 09 Jan 2009