Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there any way to make a given perl program only use
certain commands, and forbidding the use of all others in
that particular program?

For instance, just as an example, if I only wished to use
print and sub, could I make it so that only those two could
work, and all others fail/shut down the program?

Replies are listed 'Best First'.
Re: Restricting commands
by ikegami (Patriarch) on May 04, 2008 at 21:40 UTC
      Thank you very much.