1. Perl Oneliners
  2. Install Perl
  3. Oneliners
    1. Tutorial
  4. Examples
    1. Print the version of Perl
    2. Print a number, use Perl as your calculator
    3. Print a string
    4. Using grep on Windows as well
    5. Rename many files
    6. Replace a string in many files
    7. Replace one line with an empty row
    8. Remove one line from a file
    9. Remove comments from many files
    10. Change encoding
    11. print the 3rd field of every line in a CSV file
    12. Print all usernames from /etc/passwd
    13. Double-space a file
    14. Add row numbers to file
    15. Use module to sum numbers
    16. Sum numbers in a file
    17. Use module to add numbers in a file
    18. Check if a number is prime
    19. Remove leading spaces
    20. Remove trailing spaces
    21. Insert rows in many TOML files
    22. Change a value in many TOML files
  5. Resources