Hm, mine doesn't print the parameter value, only its name... In onlineacademy.cgi:
--- my $webApp = onlineacademy->new( PARAMS => { 'ABC' => 'DEF', } ); --- in onlineacademy.pm: --- sub print_page { my $self = shift; return $self->param(); } --- This prints just 'ABC'. I'm using C::A version 2.3. On Tuesday 07 May 2002 16:10, you wrote: > I call > --- > > my $webApp = Notes::Presenter->new( PARAMS => { 'config_file' => > 'D:\\Inetpub\\etc\\nikki1\\training\\Note_Presenter.xml'} ); > > --- > > Then I use > --- > > my $cfg_file = $self->param('config_file'); > > --- > > Martijn van den Burg writes: > > Hi, > > > > Either I overlooked this in the doc, or it isn't very clearly described. > > How do I access the parameters which are set with the PARAMS parameter of > > the new() method? > > > > my $self = widget->new( > > PARAMS => { > > 'uid' => $ENV{'REMOTE_USER'}, > > } > > ); > > > > -- > > Martijn > > > > --------------------------------------------------------------------- > > Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/ > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- +----------------------------------+ Martijn van den Burg ASML, CS PPC Inform@tion Systems Voice: +31 (0)40 268 3856 +----------------------------------+ --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]