From db4e74a7387f138c6022bee04271a54cfe20aab7 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 9 Dec 2010 18:59:46 -0600 Subject: [PATCH] deprecate the AUTOLOAD method of WebGUI::Form --- lib/WebGUI/Form.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WebGUI/Form.pm b/lib/WebGUI/Form.pm index 73f313b0d..4c32668f8 100644 --- a/lib/WebGUI/Form.pm +++ b/lib/WebGUI/Form.pm @@ -66,6 +66,7 @@ sub AUTOLOAD { $session->log->error($@); return undef; } + derp "Using WebGUI::Form:: is deprecated. Use WebGUI::Form::Control->new() and toHtml() instead."; return $control->toHtml; }