in reply to Completely removing a perl function.
You may use the ops pragma, as it "currently has an irreversible global effect":
sidhekin@blackbox:~$ perl -le 'no ops "shmget"; shmget 5, 4, 3' 'shmget' trapped by operation mask at -e line 1. sidhekin@blackbox:~$
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In Section
Seekers of Perl Wisdom