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,Config- Look up the build-time configuration of the running Perl interpreter.Cwd- Report the current working directory and resolve paths to theirEncode- Convert between Perl character strings and bytes in any named encoding -Errno- Symbolic names for theerrno(3)values your system uses -EINTR,EAGAIN,Fcntl- Symbolic constants forfcntl(2),flock(2),seek(2), and file-modeIO- Load the core IO modules -IO::Handle,IO::File,IO::Seekable,IO::Pipe,IO::Socket,IO::Dir- in oneuse.MIME:: [Base64,QuotedPrint]Opcode- Name, group and mask the interpreter’s opcodes - the machinerySafePDL- 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’smyandourvariables - read them,SDBM_File- Tie a Perl hash to an on-disk SDBM database so keys and values persist between runs.Socket- BSD socket constants and address pack/unpack helpers that feed Perl’sStorable- Serialise arbitrary Perl data structures to bytes, reconstruct them later, or deep-clone them in memory.attributes- The machinery behind `sub foo : lvalue method { …mro- Method Resolution Order - how Perl decides which parent class’s method a call inherits.re- Therepragma and regular-expression introspection module.version- Turn a version string into an object you can compare, print, and introspect.