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

[cgiapp] [NEWBIE] How to change run mode mid execution


Hi

Firstly I'd like to apologise if this question has been asked before or if the
answer is so blindingly obvious I'm looking past it. I just discovered
CGI::Application today and am having great fun with it. I couldn't find a
searchable list archive so if I can find this info elsewhere please feel free to
shout (quietly) at me !

I'd like to redefine the run mode of my application based on an evaluation
within my script. For example if during "run_mode_1" I look in my database and
find value 'x' I'd like the application to change to "run_mode_2".

Is this possible (I'm sure it should be) and what's the best way to achieve it ?

Many thanks

Paul Barker
Senior Systems Engineer
Orange PCS Ltd



*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.

Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation.  Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.

Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************


---------------------------------------------------------------------
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.