[Catalyst-dev] Re: Catalyst::Request is missing a function for initial/previous URI

Aristotle Pagaltzis pagaltzis at gmx.de
Mon Jul 28 21:59:36 BST 2008


* Markus Zimmermann <markus.zimmermann at atikon.com> [2008-07-17 15:25]:
> +    if ($self->apache->prev) {
> +        my $prev = $self->apache->prev;

As an aside, this is much more nicely written like this:

    if (my $prev = $self->apache->prev) {

-- 
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst-dev mailing list