You can use a string as if it were a reference. If you use the string "foo" as an array reference, it's taken to be a reference to the array @foo. This is called a soft reference or symbolic reference. The declaration use strict 'refs' disables this feature, which can cause all sorts of trouble if you use it by accident.The final phrase has a dual meaning, and might be interpreted to mean that use strict 'refs' is a dangerous practice. Perhaps it could be better be written as:
...,since this 'feature' can cause all sorts of trouble if you use it by accident.How does one go about changing these docs, or are they just frozen in stone?
In reply to Using strict can cause trouble by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |