Questions about perl_set

evms nginx-forum at
Mon Aug 16 21:52:17 MSD 2010

Is there any way possible I can use perl_set within a Location

        perl_set $test_transformation 'sub {
                my $r = shift;
                $result = list_rewrite::handler($r, "/test.asp");
                return $result;

I have this within the HTTP directive.

Will it be run each time a request comes in or only when
$test_transformation is referenced?


Posted at Nginx Forum:,120409,120409#msg-120409

More information about the nginx mailing list