3 This plugin adds [perl](https://www.perl.org/) useful aliases/functions.
5 To use it, add `perl` to the plugins array in your zshrc file:
13 | Aliases | Command | Description |
14 | :------------ | :----------------- | :------------------------------------- |
15 | pbi | `perlbrew install` | Install specific perl version |
16 | pbl | `perlbrew list` | List all perl version installed |
17 | pbo | `perlbrew off` | Go back to the system perl |
18 | pbs | `perlbrew switch` | Turn it back on |
19 | pbu | `perlbrew use` | Use specific version of perl |
20 | pd | `perldoc` | Show the perl documentation |
21 | ple | `perl -wlne` | Use perl like awk/sed |
22 | latest-perl | `curl ...` | Show the latest stable release of Perl |
26 * `newpl`: creates a basic Perl script file and opens it with $EDITOR.
28 * `pgs`: Perl Global Substitution: `pgs <find_pattern> <replace_pattern> <filename>`
29 Looks for `<find_pattern>` and replaces it with `<replace_pattern>` in `<filename>`.
31 * `prep`: Perl grep, because 'grep -P' is terrible: `prep <pattern> [<filename>]`
32 Lets you work with pipes or files (if no `<filename>` provided, use stdin).
36 In order to make this work, you will need to have perl installed.
37 More info on the usage and install: https://www.perl.org/get.html