- 1. Perl Oneliners
- 2. Install Perl
- 3. Oneliners
- 3.1. Tutorial
4. Examples
- 4.1. Print the version of Perl
- 4.2. Print a number, use Perl as your calculator
- 4.3. Print a string
- 4.4. Using grep on Windows as well
- 4.5. Rename many files
- 4.6. Replace a string in many files
- 4.7. Replace one line with an empty row
- 4.8. Remove one line from a file
- 4.9. Remove comments from many files
- 4.10. Change encoding
- 4.11. print the 3rd field of every line in a CSV file
- 4.12. Print all usernames from /etc/passwd
- 4.13. Double-space a file
- 4.14. Add row numbers to file
- 4.15. Use module to sum numbers
- 4.16. Sum numbers in a file
- 4.17. Use module to add numbers in a file
- 4.18. Check if a number is prime
- 4.19. Remove leading spaces
- 4.20. Remove trailing spaces
- 4.21. Insert rows in many TOML files
- 4.22. Change a value in many TOML files
- 5. Resources