Skip to content

Perl

Powerful text processing and scripting language

Overview

Perl is a high-level, general-purpose language known for its text processing capabilities and extensive CPAN module ecosystem.

Language Aliases

run perl "print 'Hello\\n';"
run pl "print 'Hello\\n';"
# Output: Hello (x2)

Multi-line Code: Use Heredoc

For multi-line code, use heredoc (<< 'EOF') to avoid shell quoting and escaping issues.

REPL Behavior

Perl's REPL is STATEFUL - variables persist across commands.