in reply to setting CLASSPATH thru perl

Set $ENV{ 'CLASSPATH' }. See perlvar for the scoop on %ENV.