Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: CGI::Application 'No such run mode...'

by Anneq (Vicar)
on Dec 24, 2003 at 01:01 UTC ( #316765=note: print w/ replies, xml ) Need Help??

in reply to Re: CGI::Application 'No such run mode...'
in thread CGI::Application 'No such run mode...'


Thanks for your response:

You don't say how you invoke your test program. Did you do something like:
try out the later, along with rm=mode2 , etc.

In get_common_stuff(), two links are defined and called by other subroutines (modes). The user would select a link with a href like:'....

I also noticed that in your simplePage sub you are writing the header. This is incorrect, CGI::App takes care of this.

Actually, this sample code shows three different ways to make use of combinations of CGI::Application, and CGI::Template. Its quite a handy reference for me, but as you say, it doesn't appear to be using CGI::Application as it was intended.



Comment on Re: Re: CGI::Application 'No such run mode...'
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://316765]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2015-07-30 16:45 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (273 votes), past polls