Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Completely removing a perl function.

by Sidhekin (Priest)
on Jun 28, 2006 at 08:37 UTC ( #557967=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557967]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-06-20 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (116 votes). Check out past polls.

    Notices?