Branching Directives: if, unless, else, elsif
Learn about branching directives in Perl.
Control flow directives
Perl’s basic control flow is straightforward. Program execution starts at the beginning (the first line of the file executed) and continues to the end:
Get hands-on with 1400+ tech skills courses.