mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 19:22:08 +02:00

- use generic names in the descriptions, since they can be directly matched to the corresponding tokens - move the -e example to appear right before the -M -e example - make description of -M -e example more explicit (to match the plain -e example)
23 lines
414 B
Markdown
23 lines
414 B
Markdown
# perl
|
|
|
|
> The Perl 5 language interpreter.
|
|
|
|
- Parse and execute a Perl script:
|
|
|
|
`perl {{script.pl}}`
|
|
|
|
- Check syntax errors on a Perl script:
|
|
|
|
`perl -c {{script.pl}}`
|
|
|
|
- Parse and execute a perl statement:
|
|
|
|
`perl -e {{perl_statement}}`
|
|
|
|
- Import module before execution of a perl statement:
|
|
|
|
`perl -M{{module}} -e {{perl_statement}}`
|
|
|
|
- Run a Perl script in debug mode, using `perldebug`:
|
|
|
|
`perl -d {{script.pl}}`
|