Demystifying Perl One-Liners - Walter C. Mankowski - TPRC 2024

Published: 26 June 2024
on channel: The Perl and Raku Conference - Greenville, SC 2025
716
55

#tprc2024 #perl #raku #oneliner #dcbpw-shirt

One-liners aren't just for gurus and obfuscated Perl contests. Anyone can learn a few simple command-line switches and instantly become more productive. You too can become a command-line ninja!Perl's got a reputation for producing unreadable, unmaintainable code. In some cases that's probably well-deserved, and TPC is filled with talks on modules and techniques that try to rein in some of that complexity. That's great, but sometimes people can forget that Perl's still a great language for throwing together quick and dirty little programs. And nothing is quicker or dirtier than the one-liner.

This talk is an introduction to writing one-liners in Perl. The focus isn't so much on Perl golf, but rather on getting a handle on all those command-line switches described in [perlrun](http://perldoc.perl.org/perlrun.html#...) so you can add them to your development toolbox. So if you can never remember the difference between `-l`, `-n` and `-p`, this is the talk for you. If you're new to Perl, you'll be amazed at how much you can accomplish. Even if you already write the occasional one-liner in Perl, chances are you're not taking advantage of all the tricks and shortcuts you could be.


Watch video Demystifying Perl One-Liners - Walter C. Mankowski - TPRC 2024 online without registration, duration hours minute second in high quality. This video was added by user The Perl and Raku Conference - Greenville, SC 2025 26 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 71 once and liked it 5 people.