[Catalyst] Catalyst 5 preview!

Sebastian Riedel sri at oook.de
Thu Mar 31 22:12:19 CEST 2005


Am 31.03.2005 um 20:52 schrieb Michael Reece:

>>    sub html : Regex('^(\w+).html$') {
>>        my ( $self, $c ) = @_;
>>        $c->res->output('Hello');
>>    }
>
> Can those patterns be expressions, such as:
>
>     my $table_re = qr/^(my|list|of|tables)$/;
>
>     sub table : Regex($table_re) { ... }

No, attributes are limited there, it would require scary stuff like a 
source filter...

--
sebastian




More information about the Catalyst mailing list