in reply to mkdir usage
use warnings; would have caught that:
C:\test>perl -wE"if( -d abc ) { say 'hi' }" Unquoted string "abc" may clash with future reserved word at -e line 1 +. Name "main::abc" used only once: possible typo at -e line 1. -d on unopened filehandle abc at -e line 1.
|
|---|