NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
The awk features are rather nice (Score:1)
I find I use -a rather alot for snippets like the following:
It's still useful for alternative delimiters. Pretending dpkg used tabs for delimiters, I'd add the parameter
It also find it's really helpful to got a proper handle on quoting whether in my shell or in perl. Often in a one-liner I'm using qq{} in perl to avoid messing with my shell's own use of ' or ". Occasionally I use bash's $'\t' syntax which lets me say things like
. I often say the ugly but effective:
I use the very, very short one-liner
which just opens up a fresh debugger. I like that "dea" is supposedly the Latin word for goddess. I gather other people like to have other cute words like -debugger. It's all rather arbitrary but works as long as the word starts with the letters 'de'.
Reply to This