Update of /cvsroot/http-webtest/HTTP-WebTest-Recorder/lib/HTTP/WebTest/Recorder
In directory sc8-pr-cvs1:/tmp/cvs-serv15955
Modified Files:
Controller.pm
Log Message:
Move %DISPATCH defenition into HTTP::WebTest::Recorder::Config
Index: Controller.pm
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest-Recorder/lib/HTTP/WebTest/Recorder/Controller.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Controller.pm 5 Apr 2003 09:59:59 -0000 1.7
--- Controller.pm 22 Apr 2003 20:10:19 -0000 1.8
***************
*** 11,16 ****
use Template;
use HTTP::WebTest::Recorder::Exceptions;
- use HTTP::WebTest::Recorder::Actions qw(:all);
# constructor
--- 11,16 ----
use Template;
+ use HTTP::WebTest::Recorder::Config qw(%DISPATCH);
use HTTP::WebTest::Recorder::Exceptions;
# constructor
***************
*** 31,45 ****
# request object
*request = make_access_method('REQUEST');
-
- use vars qw(%DISPATCH);
-
- %DISPATCH = (list => \&list_action,
- request => \&request_action,
- response_content => \&response_content_action,
- wtscript => \&wtscript_action,
- enable => \&enable_action,
- delete => \&delete_action,
- filter => \&filter_action,
- default => \&default_action);
# serves requests for web interface of the proxy
--- 31,34 ----
|