Nginx config template in external file

Hi! I wrote some functionality to extract config template to external file. Actually, I'm not a pro in perl, so maybe my code is not splendid, but it works =)