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
| Option | Description |
|---|---|
-e 'code' | Execute code (modern features always on) |
-c | Check syntax only |
-w | Enable warnings |
-v | Show version |
--no-jit | Disable JIT compilation |
--no-parallel | Disable auto-parallelization |
--p5 | Use p5 self-contained runtime (experimental) |
--cache | Enable bytecode caching |
See Running Scripts for the full option list.
Notes
- Modern features (
say,state,//, signatures) are always enabled — nouse featureneeded - XS modules are not supported; native Rust reimplementations are provided for common modules
-Iis not supported; usePERL5LIBenvironment variable to add include paths