Add perl support

I found a particularly tricky perl script that I don't really want to
edit, so I went ahead and just added perl support to pconfigure
instead :).