in reply to Code Blocks
An else is a bit like a code block on the righthand side of an or.
if (open my $fh, '<', $file){ print "file opened\n"; else{ print "open failed: $!"; } [download]