use Safe; my $cpt = Safe->new( 'PluginNamespace' ); $cpt->deny_only(); $cpt->rdo( PLUGINFILENAME );