Menu

1 / 2

Perl: An Exercise in Write-Only Programming

DEV Community: perl·Jean-Luc Martel·about 4 hours ago
#lZ0QBujG
#devtoperl#devto#dev#perl#language
Reading 0:00
15s threshold

In Part 1, we explored Perl's remarkable ability to make ordinary programming concepts behave in extraordinary ways.

We encountered expressions that change meaning depending on context, variables consisting entirely of punctuation, operators with their own memories, and data structures that create themselves when you look at them.

We also learned that Larry Wall endorsed an unofficial expansion of Perl's name:

Pathologically Eclectic Rubbish Lister.

But we barely scratched the surface.

Because Perl's greatest weirdness isn't necessarily in its syntax.

It's in the extraordinary freedom it gives programmers to redefine what their programs are doing.

And occasionally, what everyone else's programs are doing.

So let's venture into the deeper waters.

Bring a flashlight.

And maybe a rocking chair.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.