@chrisjrob I was teaching my co-workers some perl and we came up with this example of maximum sigil/variable name confusion. So it's more of a puzzle if you've never seen perl before.
@sekenre@chrisjrob I'm not an expert at all in how the Perl interpreter works, but I do work with Perl a lot. I think the sigils are what makes what's going on in code like that pretty much unambiguous. One of the reasons I like Perl, and the use of sigils, a lot.
I think if you understand enough Perl, and how the sigils change to indicate the type of data, you'll think it's pretty straightforward.
Add comment