Main Content

Obfurscated code - it might work, but is it maintainable?

Archive - Originally posted on "The Horse's Mouth" - 2016-07-02 10:48:51 - Graham Ellis

And here is my latest entry in the "how many special characters can I put together in a statement without a single letter digit or space between them" competition.

  perl -n -e '/([^"]+@[^"]+)/ and print("\n");' ParishCouncillors-2.csv

Perl, of course!

I can teach how to write maintainable Perl ... or PHP, Python, Ruby ... see [here] for upcoming public courses.

P.S. As a one-off, it did work ;-)