Is there any way to use a nginx variable inside a perl set?

evms nginx-forum at nginx.us
Wed Aug 18 01:18:20 MSD 2010


Let's imagine that I do this

http {
set $a 2;
perl_set $x sub { return $a++; } 
}

I don't think I can do this. Is there away around this to provide that
functionality?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,120809,120809#msg-120809




More information about the nginx mailing list