HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to PerlOperatorsStringsArrays (@)Hashes (%)Conditions (if)LoopsFunctions (sub)
REFERENCE
📖 Overview
🖥️ Output
📦 Variables
✍️ Text & Number
📋 Array & Hash
🔁 Condition & Loop
🧩 Function (sub)
Perl›REFERENCE

Perl — Command Reference

Perl's most used commands — the powerful language of text processing and scripting. Each with an explanation and a working example.

6 categories · 10 commands

🖥️

Output

Printing with print and embedding values into text.

print
1 commands →
📦

Variables

Sigils: $ (scalar), @ (arr), % (hash).

my $ / @ / %
1 commands →
✍️

Text & Number

String functions and arithmetic.

length / uc / substrArithmetic ( + - * / % ** )
2 commands →
📋

Array & Hash

Arrays (@) and hashes (%).

Array (@)Hash (%)
2 commands →
🔁

Condition & Loop

if, foreach and while.

if / elsif / elseforeach / forwhile
3 commands →
🧩

Function (sub)

Subprogram definition.

sub
1 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code