Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
salvadors
on Aug 1, 2009
|
parent
|
context
|
favorite
| on:
Famous Perl One-Liners Explained, Part II: Line Nu...
For these sorts of examples, I tend to use awk and sed too, but sometimes the shotgun is useful. One major advantage of using Perl in this context is that you also have -M, with all of CPAN at your disposal.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: