in reply to cvs control/perl -c

Why not just check whether or not "perl -c" exits with a non-zero status value?     if(  0 != system($^X,"-c",$_)  )

        - tye (but my friends call me "Tye")