A couple of things:if ($condition) { do_something(); }
Just my $0.02if ($condition) { do_something(); } else { if ($another_condition) { do_something_else(); } else { do_yet_a_third_thing(); } }
In reply to Re^2: Perl oddities
by DentArthurDent
in thread Perl oddities
by brian_d_foy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |