if( ! eval "require $class; 1" ) { # work-around the failure here }