new

$sem = new IPC::Semaphore(key, nsems, flags)