in reply to cgi page not showing
seems to contain your problem. So what are you really trying to attempt here? check if the user exists? if the user is valid? logged in? Well, if thats fine, but if not, how could there be an User object that supports this method?# get the User, or go to login page my $user = new GWAK::User() or GWAK::User->redirect_to_login(GWAK::User->errstr);
Have a nice day
All decision is left to your taste
Update
While your code is not a production release you might want to add the linewhich would bring errors occuring due to the usage of warnings and strict (you do use those, don't you?) directly to your browser. Using diagnostics might give even more detailed reasons if an error occures :-)use CGI::Carp qw(fatalsToBrowser);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: cgi page not showing
by jeff280679 (Initiate) on Jul 01, 2002 at 08:54 UTC | |
by little (Curate) on Jul 01, 2002 at 09:14 UTC | |
by amphiplex (Monk) on Jul 01, 2002 at 09:25 UTC | |
by little (Curate) on Jul 01, 2002 at 09:28 UTC |
In Section
Seekers of Perl Wisdom