Syntactic Confectionery Delight | |
PerlMonks |
Amusing Ordity: Ord Range Behaviorby QM (Parson) |
on Aug 06, 2013 at 08:43 UTC ( [id://1048061]=perlquestion: print w/replies, xml ) | Need Help?? |
QM has asked for the wisdom of the Perl Monks concerning the following question:
Not a question, just seems like a nice distraction for this sleep deprived monk.
Testing out a code snippet in the debugger today, only a cup or two shy of my caffeine requirements, I tried this:
...which I recognize as not being correct, but wondered about the return value, 49. Immediately I fixed it like this:
But I wondered where 49 came from. Then it hit me:
Which made me think of this:
Bonus ++points for guessing what ord is up to here =) -QM
Back to
Seekers of Perl Wisdom
|
|