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

Re: [cgiapp] ANNOUNCE: CGI::Application::Framework (pre-release)


Hi Cees

> > The only issue I see is that typos are potentially much more dangerous.
> > If you make a typo in CAP::Auth's require_authorization call you'll get
> > a runtime error.  But if you make a typo in a magic 'rm_roles' sub,
> > you'll just silently open up your run mode to the world.  Maybe some
> > protection could be provided with attributes a la CAP::AutoRunmode:
> >
> >     sub rm_roles : Runmode_Auth {
> >         ...
> >     }

I'm unfamiliar with this syntax.. is it some pseudo code, or something
that perl already supports ? Do you know which perldoc page I might
find it in ?

Jeff.

-- 
Jeff MacDonald
http://www.halifaxbudolife.ca

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