in reply to Re^6: stronger than eval?
in thread stronger than eval?

I agree too. For example,

use UNIVERSAL::require (); Cache::File->use() or print "error: $@";

could be written as

use Module::Loader qw( load ); load Cache::File or print "error: $@";

Just as readable. Just as simple. No polution of UNIVERSAL::. And with the right prototype, load's argument doesn't even need to be quoted.

Update: The module I made up above already exists as Module::Load!
Update: Module::Load dies instead of returning false.