🐪 Perl Syntax

Perl’s syntax is flexible, text-friendly, and built for efficiency — perfect for scripting and automation.

🖥️ Example 1: Printing Text

Use print to display output.

Output will appear here...

🖥️ Example 2: Variables and Types

Perl variables are prefixed: $ for scalars, @ for arrays, % for hashes.

Output will appear here...

🖥️ Example 3: Comments

Use # for single-line comments and =pod=cut for multiline.

Output will appear here...
💡 Tip: Perl is case sensitive, and semicolons ; end most statements.