Yes, you can mix languages within one asp page. Just place the perl function in <script language="PerlScript" runat="server"></script> tags somewhere before your VBS that will call the function.
I'm assuming you already have a windows perl interpreter? If you haven't then
www.activestate.com is one place where you can get one.
hth
Phil