Does anyone here know if there is a way to use a perl script as a module for VB?

For example.. Have a perl script..

sub add {
my (a,b) = @_;
return a+b;
}

...
And in Vb be able to call it with simply..
MsgBox add(1,2) ..or something..

This is just a simple example.. But can it be done?