| [reply] |
| [reply] |
| [reply] |
| [reply] |
And maybe a defined or specifically for hashes, doh (which again is getting back into error-related-sounding-words territory :).
Update: Not to be confused with D::oh, of course. :)
| [reply] [d/l] |
Not knowing that "err" is "defined OR", my first thought would be that it had something to do with exceptions. The definition of the word implies that it has something to do with errors.
It sounds like your intuition is working just fine to me. Isn't that how err will be used? Isn't that how or is used now? (And since or is slightly wrong, err is introduced to pay attention to definedness rather than truth)
BTW, what does your intuition tell you about //? And why? Intuition comes from experience and is specific to the tool you're using. A C++ programmer would intuit that // introduces a comment. A Perl programmer has no such intuition. A Perl programmer might think it has something to do with the other doubled-character operators, &&, and || (or just be confused and have to look it up :).
| [reply] [d/l] [select] |
IMO a fair amount. You wouldn't want to name a routine that sums a list 'avg' would you? Naming something that has nothing to do with errors 'err' is IMO a bad plan. And clashes with expectations generated by other languages. (Such as VB which uses the err object for exception throwing.)
I said all this on p5p at the time, but to no avail.
---
$world=~s/war/peace/g
| [reply] |