Control structures guide the flow of your Perl program: decisions, loops, and conditional logic.
Basic conditional branching.
unless
runs a block only if a condition is false — kinda like a reversed if
.
Repeats a block while a condition is true.
my
when declaring loop variables to keep scope clean.