in reply to perl in PostgreSQL

I think you want PL/Perl
Update

Changed the link to current version