Edit product

Perl one-liners cookbook

The book heavily leans on examples and exercises to help you get comfortable with using Perl from the command line. It is recommended that you manually type each example and experiment with them.


You should be comfortable with programming basics and have prior experience working with Perl. You should know concepts like scalar, array, hash and special variables, be familiar with control structures, regular expressions etc. You should also have prior experience working with command line and bash shell and be familiar with concepts like file redirection, command pipeline and so on.

Sample chapters

For a preview of the book, see sample chapters at https://github.com/learnbyexample/learn_perl_oneliners/blob/main/sample_chapters/perl_oneliners_sample.pdf

GitHub repo

Visit https://github.com/learnbyexample/learn_perl_oneliners for code snippets and exercise files. The repo also has solutions for exercises.

  • You'll get PDF and EPUB versions of the book.
  • Length94 pages
  • Last Updated2021-03-11


Perl one-liners cookbook

Enter your info to complete your purchase

Give as a gift


or pay with
pp paypal
You'll be charged US$10.