Reputation: 1492
Having this in nginx configuration file:
http {
perl_modules perl/lib;
perl_require utiles.pm;
perl_set $user_perfil utiles::get_perfil;
}
If i use the ssi variable "user_perfil" in a html page, like this:
<!--# echo var="user_perfil" -->
everytime when i do that, nginx calls the function 'utiles::get_perfil' ? or just the first time ?
Upvotes: 0
Views: 2355