in reply to mkdir usage
!/usr/bin/perl -w
# I most often use "-w" on first line the rather than "use warnings;".
# There can be difference later when using other modules.
# In this case, there is no difference.
#
# I most often use "-w" on first line the rather than "use warnings;".
# There can be difference later when using other modules.
# In this case, there is no difference.
#
coud have been:if (! -d abc) { mkdir "abc", "0777" or die "Can't mkdir abc: $!"; }
if (! -d "abc") { mkdir "abc", "0777" or die "Can't mkdir abc: $!"; }
In Section
Seekers of Perl Wisdom