http://www.perlmonks.org?node_id=187684

Sara has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks , I know you can do the follwing using shell scripting :
if [ ! -d $BA/bs/eerel/esGH060 ]; then mkdir $BA/bs/eerel/esGH060
how would I do the same thing in perl?