[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Elementary rm question


Hi Peter,

I use this approach in some of my apps. What I do is set a param and then 
read that in the setup as follows:

instance_script.pl:
	my $webapp = WebApp->new(
		PARAMS => {
			'start_mode' => 'register',
		}
	);

WebApp.pm:
	$self->start_mode('login');
	$self->start_mode($self->param('start_mode')) if ($self-
>param('start_mode'));


Good luck,
William

-- 
 Lead Developer
 Knowmad Services Inc. || Internet Applications & Database Integration
 http://www.knowmad.com
 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.