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

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


On 6/23/05, Jeff MacDonald <suppressed> wrote:
> > >     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 ?

perldoc attributes
perldoc perlsub

Also see the AutoRunmode plugin [1] which uses method attributes to
specify which of your methods are Runmodes.

Cheers,

Cees

[1] http://search.cpan.org/~thilo/CGI-Application-Plugin-AutoRunmode-0.07/AutoRunmode.pm

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