Perl One-Liners Guide with plenty of examples and exercises (learnbyexample.github.io)
from learnbyexample@programming.dev to linux@lemmy.ml on 28 Sep 2023 11:06
https://programming.dev/post/3619339

Hello!

I am pleased to announce a new version of my Perl One-Liners Guide ebook.

Perl has a feature rich regular expression engine, plenty of builtin modules and a thriving ecosystem. Another advantage is that Perl is more portable. This book will show examples for filtering and substitution features, field processing, using standard and third-party modules, multiple file processing, how to construct solutions that depend on multiple records, how to compare records and fields between two or more files, how to identify duplicates while maintaining input order and so on.

Links:

I would highly appreciate it if you’d let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn’t!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

#linux

threaded - newest

bahmanm@lemmy.ml on 28 Sep 2023 14:08 collapse

This is fantastic! 👏

I use Perl one-liners for record and text processing a lot and this will be definitely something I will keep coming back to - I’ve already learned a trick from “Context Matching” (9) 🙂

learnbyexample@programming.dev on 28 Sep 2023 15:39 collapse

That’s great to hear and thanks for the kind feedback :)