Reference#

Reference for pperl, a faithful Rust reimplementation of perl5 5.44. Two parts: the Perl language reference (variables, functions, operators, regex, data types, subroutines) and the Module reference for every built-in native module.

Perl language#

Modules#

Built-in modules, by top-level namespace. Badges show the feature tier and any extra Cargo features required - see Disclaimer & bug reports for how to check which features your pperl binary has.

  • B - Inspect a running Perl program’s own optree, symbol table, and compiled subs.

  • Clone - Make a deep, independent copy of any Perl value - hashes, arrays, scalars, references,

  • Compress :: [ Raw ]

  • Config - Look up the build-time configuration of the running Perl interpreter.

  • Cwd - Report the current working directory and resolve paths to their

  • Data :: [ Dumper ]

  • Devel :: [ Peek ]

  • Digest :: [ MD5, SHA ]

  • Encode - Convert between Perl character strings and bytes in any named encoding -

  • Errno - Symbolic names for the errno(3) values your system uses - EINTR, EAGAIN,

  • Fcntl - Symbolic constants for fcntl(2), flock(2), seek(2), and file-mode

  • File :: [ Glob, Map, Temp ]

  • Filter :: [ Util ]

  • Hash :: [ Util ]

  • I18N :: [ Langinfo ]

  • IO - Load the core IO modules - IO::Handle, IO::File, IO::Seekable, IO::Pipe, IO::Socket, IO::Dir - in one use.

  • IPC :: [ SysV ]

  • List :: [ Util ]

  • MIME :: [ Base64, QuotedPrint ]

  • Math :: [ GMP ]

  • Opcode - Name, group and mask the interpreter’s opcodes - the machinery Safe

  • PDL - PDL - the Perl Data Language: fast, vectorised, multidimensional arrays for scientific and bulk numeric work.
    :: [ Bad, Basic, Constants, Core, FFT, Lite, LiteF, Math, MatrixOps, Ops, Primitive, Slices, Types, Ufunc ]

  • POSIX - The POSIX (IEEE Std 1003.1) C standard library, exposed to Perl.

  • PadWalker - Reach into another subroutine’s my and our variables - read them,

  • PerlIO :: [ encoding, mmap, via ]

  • Peta :: [ FFI, XS ]

  • SDBM_File - Tie a Perl hash to an on-disk SDBM database so keys and values persist between runs.

  • Scalar :: [ Util ]

  • Socket - BSD socket constants and address pack/unpack helpers that feed Perl’s

  • Storable - Serialise arbitrary Perl data structures to bytes, reconstruct them later, or deep-clone them in memory.

  • Sys :: [ Hostname ]

  • Term :: [ ReadLine ]

  • Time :: [ HiRes ]

  • attributes - The machinery behind `sub foo : lvalue method { …

  • mro - Method Resolution Order - how Perl decides which parent class’s method a call inherits.

  • re - The re pragma and regular-expression introspection module.

  • version - Turn a version string into an object you can compare, print, and introspect.