use strict 'refs';
might be declared by accident.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
| [reply] [d/l] |
If you think you can make this clearer, produce a diff and send it to the perl5 porters list where perl 5 development is done.
| [reply] |
If you want to eliminate the ambiguity entirely, you'll probably need to revise the sentence structure, not just reword it slightly. Try something like "This is called a soft reference or symbolic reference, and can cause all sorts of trouble if you use it by accident. The declaration use strict 'refs' disables this feature." | [reply] [d/l] |
the english language (and probably every other human language) offers many opportunities for ambiguous interpretation ("you can't put too much water on the core of a nuclear reactor..."), but this isn't one of them.
asserting that "the final phrase has a dual meaning... " means that "this feature" can be properly interpreted as " use strict 'refs'", and so the sentence can properly be re-written as "The declaration use strict 'refs' disables use strict 'refs', which can cause all sorts of trouble if you use it by accident." this is clearly not the case (if one is paying attention). | [reply] [d/l] [select] |
| [reply] |
b4swine: Pronoun useage, like the rest of the English language, has what amount to "undocumented features," introduced by shifts, abuse and regionalisms, so this is DEFINITELY NOT to say you're wrong. And, note, FWIW, neither of the cited passages below comes from an "ultimately authoratative source" (it's really hard to cut and paste from a dead-trees copy of OED, and even if one did so, one could find respectable disagreements, sometimes).
With those caveats, however, this from http://www.answers.com/topic/which:
USAGE NOTE The relative pronoun which is sometimes used to refer to an entire sentence or clause, rather than a noun or noun phrase, as in She ignored him, which proved to be unwise. They swept the council elections, which could never have happened under the old rules. While these examples are unexceptionable, using which in this way sometimes produces an ambiguous sentence. Thus It emerged that Edna made the complaint, which surprised everybody leaves unclear whether it was surprising that a complaint was made or that Edna made it. The ambiguity can be avoided with paraphrases such as It emerged that the complaint was made by Edna, a revelation that surprised everybody. • Which may be used to refer to an entire sentence or clause only when it is preceded by that sentence or clause. When the referent follows, what should be used, particularly in formal style: Still, he has not said he will withdraw, which is more surprising but Still, what (not which) is more surprising, he has not said he will withdraw. See Usage Notes at that, what, whose.
Conversely (in part), from http://www.yourdictionary.com/which:
- what one (or ones) of the number of persons, things, or events mentioned or implied? which of the men answered? which do you want?
- the one (or ones) that he knows which he wants
- that: used as a relative referring to the thing, group, or event specified in the antecedent word, phrase, or clause: which can be used in a restrictive clause the war which had just ended, the class to which he spoke, in a restrictive clause preceded by the pronoun that [he sacrificed that which he valued most], in a nonrestrictive clause [my car, which is not running; my family, in which she found a warm welcome], or, archaically, of a person [Our Father, which art in heaven]
- either, or any, of the persons, things, or events previously mentioned or implied; whichever take which you prefer
- a thing or fact that you are late—which reminds me, where were you yesterday?
Short-form synopsis: The occupant of this seat disagrees with your use of "absurd" but aknowledges some linguistic merit.
update: Typo fixed; s/had/hard/ in para 1
| [reply] |
otoh, ambiguity in language is the basis of much, perhaps most, humor, so maybe this is b4swine's joke.
| [reply] |