in reply to
Re^3: Can you explain the result?
in thread Can you explain the result?
I think it's bad design
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.
Use subroutines for code reuse
Master regular expressions
Write my GUIs with Perl
Abandon CGI in favor of some modern web framework
Put my code in modules
Create CPAN distributions
test and document my code as I write it
Write OOP with or without animal help
Finally switch to a modern Perl style
Create a killer application with Perl
Detoxify from Perl and PerlMonks
Choose another language because Perl is dead
Learn to program for mobile devices
Complete my secret world domination project
None, because the road to hell is paved with good intentions
Results (259 votes),