[Catalyst] Serving static content

David Storrs dstorrs at dstorrs.com
Mon Jun 13 21:03:34 CEST 2005


On Jun 13, 2005, at 10:51 AM, Andy Grundman wrote:

> samwyse wrote:
>
>> What's the best
>> way to determine the invocation method [?]
>
> I did it this way in my RequireSSL plugin:
>
> if ( $c->engine eq "Catalyst::Engine::HTTP" ) {
>   ...
> }

Probably want to use 'isa' there instead of 'eq', right?

--DksÎ


More information about the Catalyst mailing list