Perl’s syntax is flexible, text-friendly, and built for efficiency — perfect for scripting and automation.
Use print
to display output.
Perl variables are prefixed: $
for scalars, @
for arrays, %
for hashes.
Use #
for single-line comments and =pod
… =cut
for multiline.
;
end most statements.