Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

Installation

Binaries will be available from a GitHub release page (TBD). That is also where to report issues via the tracker.

First Script

#!/usr/bin/env pperl
print "Hello from PetaPerl!\n";

Command Line Options

OptionDescription
-e 'code'Execute code (modern features always on)
-cCheck syntax only
-wEnable warnings
-vShow version
--no-jitDisable JIT compilation
--no-parallelDisable auto-parallelization
--p5Use p5 self-contained runtime (experimental)
--cacheEnable bytecode caching

See Running Scripts for the full option list.

Notes

  • Modern features (say, state, //, signatures) are always enabled — no use feature needed
  • XS modules are not supported; native Rust reimplementations are provided for common modules
  • -I is not supported; use PERL5LIB environment variable to add include paths