Loading…
Attending this event?
TPRC 2024 in beautiful Las Vegas, Nevada! June 25-27th.
Tuesday, June 25 • 3:30pm - 3:50pm
Perl One-Liners

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

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#Command-Switches) 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.Audience: All["Perl", "one-liners", "command-line"]

Speakers
avatar for Walt Mankowski

Walt Mankowski

Senior Data Analyst, University of Pennsylvania


Tuesday June 25, 2024 3:30pm - 3:50pm PDT
Track 2

Attendees (2)