Hi Carl,

I'm not sure why this works on my ubuntu box and not the windows box, but i get an error (Can't call method refaddr without a package or object reference) in two spots:

HTML/FormFu.pm
HTML/FormFu/Render/base.pm

Attached is a patch to fix that...

-Brian
=== lib/HTML/FormFu/Render/base.pm
==================================================================
--- lib/HTML/FormFu/Render/base.pm	(revision 21860)
+++ lib/HTML/FormFu/Render/base.pm	(local)
@@ -8,6 +8,7 @@
 use HTML::FormFu::ObjectUtil qw/ form stash /;
 use HTML::FormFu::Util qw/ _parse_args _get_elements process_attrs /;
 use Carp qw/ croak /;
+use Scalar::Util qw/ refaddr /;
 
 use overload
     'eq' => sub { refaddr $_[0] eq refaddr $_[1] },
=== lib/HTML/FormFu.pm
==================================================================
--- lib/HTML/FormFu.pm	(revision 21860)
+++ lib/HTML/FormFu.pm	(local)
@@ -23,7 +23,7 @@
     _render_class clone stash constraints_from_dbic /;
 use HTML::FormFu::Util qw/ _parse_args require_class _get_elements xml_escape /;
 use List::MoreUtils qw/ uniq /;
-use Scalar::Util qw/ blessed weaken /;
+use Scalar::Util qw/ blessed weaken refaddr /;
 use Storable qw/ dclone /;
 use Regexp::Copy;
 use Carp qw/ croak /;
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to