Skip to content

Comment on Ruby mistakesparent

Comments

>>Setting `$=` to something truthy causes all string operations to become case-insensitive. This and other magic globals from perl are mind blowing.

>Perlisms.

They're incomplete Perlisms that's the real flaw because in perl these special variables are dynamically scoped.

NB. $= does something completely different in perl. I don't know of any perl special variable that replicates what Ruby's $= does.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.