Joel,
> A followup to my last question, is this an acceptable (ie supported) way
> of getting the current run-mode from inside of &setup():
>
> my $rm = $self->{'__CURRENT_RUNMODE'}
>
> Or is there a safer way to get at that?
You should take a read through my CGI::Application Order of Operations
article to find out at what points in the instance of a CGI::App run that
you can access the current run-mode.
http://twiki.med.yale.edu/twiki2/bin/view/CGIapp/OrderOfOperations
---
Steve Comrie
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
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.