mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 17:14:06 +02:00
perl: add page (#1142)
This commit is contained in:
parent
39f27492c7
commit
b9bb46e6de
1 changed files with 23 additions and 0 deletions
23
pages/common/perl.md
Normal file
23
pages/common/perl.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# perl
|
||||
|
||||
> The Perl 5 language interpreter.
|
||||
|
||||
- Parse and execute a `script.pl`:
|
||||
|
||||
`perl {{script.pl}}`
|
||||
|
||||
- Parse and execute a `perl_statement`:
|
||||
|
||||
`perl -e {{perl_statement}}`
|
||||
|
||||
- Check syntax errors on `script.pl`:
|
||||
|
||||
`perl -c {{script.pl}}`
|
||||
|
||||
- Import module before execution:
|
||||
|
||||
`perl -M{{module}} -e {{perl_statement}}`
|
||||
|
||||
- Run `script.pl` in debug mode using `perldebug`:
|
||||
|
||||
`perl -d {{script.pl}}`
|
Loading…
Add table
Reference in a new issue