It's possible. You could send a request to the login.php script that includes the username and password, just like the user would enter it, then use the cookie that's returned in other requests. You'd have to parse the returned html to find the subscription.
If your perl script is running on the same server it might be easier to access the database directly. You could also write a vbulletin script or plugin to create a special function that returns the subscription name, maybe using xml (although I suppose you're a perl programmer or you wouldn't be asking about it

).