in reply to mkdir die
Your original code was being parsed as:mkdir $DIR_LOCATION, 0777 or die "sigh";
Update: I got pulled into a meeting before I could elaborate, but others have now explained it nicely.mkdir $DIR_LOCATION, (0777 || die "sigh");
-Blake
|
|---|