I'm fairly sure I won't be the first or last to say this but you *may* want to look towards
DBI for all your database interfacing with perl. However if you're determined to use
msgget,
msgsnd and
msgrcv then you'll probably want to check out the likes of
IPC::SysV. Also if you're doing webby stuff you'll also want to be reading up on the fantabulous
CGI.
HTH
broquaint