in reply to creating a perl entry-point

morelenmir:

There's no problem with that at all. Just leave off the & from the call, and the parenthesis off your sub definition, and you're golden. (Subroutine prototypes aren't the same as in C++, so don't use 'em.)

Update: Fixed grammar and mentioned prototype...

...roboticus

When your only tool is a hammer, all problems look like your thumb.