I want to be able to display the perl @INC paths in php and I thought of trying an ereg of the command perl -V since that displays the paths of the @INC but I'm not sure how to egrep it correctly or of another method on how to do it could someone help me out?