Name

new

Synopsis

$msg = new IPC::Msg(key, flags)

Creates a new message queue associated with key and uses flags to set the permissions. Creates the new message queue if the following are true:

  • key is equal to IPC_PRIVATE.

  • key doesn’t already have an associated message queue, and FLAGS & IPC_CREAT is true.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.