cvsuser 03/12/03 08:12:57
Modified: App-Context/bin app
Log:
convert to use App::Options
Revision Changes Path
1.6 +5 -5 p5ee/App-Context/bin/app
Index: app
===================================================================
RCS file: /cvs/public/p5ee/App-Context/bin/app,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -r1.5 -r1.6
--- app 19 May 2003 17:41:11 -0000 1.5
+++ app 3 Dec 2003 16:12:57 -0000 1.6
@@ -3,19 +3,19 @@
# NOTE: -T option ignores PERL5LIB
#############################################################################
-# $Id: app,v 1.5 2003/05/19 17:41:11 spadkins Exp $
+# $Id: app,v 1.6 2003/12/03 16:12:57 spadkins Exp $
#############################################################################
BEGIN {
- use App::BEGIN;
- App::BEGIN->load_conf();
+ use App::Options;
+ App::Options->init();
}
#################################################################
# NOTE: some Context classes (e.g. Context::CGI) also read in
-# the environment and store it in the %App::conf.
+# the environment and store it in the %App::options.
#################################################################
use App;
-my $context = App->context(\%App::conf);
+my $context = App->context(\%App::options);
$context->dispatch_events();