|No such thing as a small change|
Re: What I Most Recently Learned in Perl, But Should Have Already Knownby imp (Priest)
|on Aug 21, 2006 at 02:37 UTC||Need Help??|
I recently learned how to find out what Perl thinks I mean by my code. The magic of B::Deparse. This answered some mysteries, for example why this code will not stop on values that are seen as false:
When writing that loop explicitly I would be testing it like this:
It turns out that is exactly what perl is doing as well, as seen below:
It's also interesting to see what the parser thinks about other code, such as:
And it is useful for seeing what some of the code from the Obfuscation section is actually doing.