Welcome! Log In Create A New Profile

Advanced

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

August 17, 2010 05:18PM
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?
Subject Author Posted

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

evms August 17, 2010 05:18PM

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

Maxim Dounin August 17, 2010 08:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready