in reply to IPC::Sempahore::remove vs. ipcrm
I'd get more info. to start: What OS? And I'd print $! on failure. The underlying semaphore system call should be setting errno on failure and that should be reflected in $!.