$ds = $sem->stat
ds
sem
Returns an object of type IPC::Semaphore::stat (which is a subclass of Class::Struct) that provides the following fields:
IPC::Semaphore::stat
uid gid cuid cgid mode ctime otime nsems