I compiled nginx with perl ( --with-http_perl_module ),
............
checking for perl
+ perl version: v5.8.8 built for i386-linux-thread-multi
+ perl interpreter multiplicity found
..............................
installed it , and then i get
[root@host nginx-1.2.2]# nginx -t
nginx: [emerg] unknown directive "perl_modules" in /vps_core/nginx/conf/nginx.conf:9
nginx: configuration file /vps_core/nginx/conf/nginx.conf test failed
[root@host nginx-1.2.2]# nginx -V
nginx version: nginx/1.2.2
configure arguments: --prefix=/vps_core/nginx --with-http_perl_module