On 1/26/12, Engin Akyol <emakyol@gmail.com> wrote:
> Is it possible to pass variables to embedded perl modules via
> nginx.conf and if so how would that be done?
set $foo "bar";
perl My::super_task "A";
In perl:
sub handler {
my $r = shift;
my $foo = $r->variable('foo');
...
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx