in reply to Re^3: Can you explain the result?in thread Can you explain the result?
open my $FH, '<', $filename or die $!;
mkdir $dir || exit 1
The real problem is that return is pretty different than ordinary subs like open and etc...
return if $some_condition;
Improve your skills with Modern Perl: the free book.
Conway's Game of Life
Perl regular expressions
My Magic 8-Ball™
Results (187 votes). Check out past polls.