You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Explicit Sigil and Ref to Same, Equivalent
(where refs to a type are not legal values)
Wherever the language currently requires a value of type Array or a value of type Hash will allow a reference to the same type.
Any place where the language allows more than one type, will allow a reference to one of those allowed types.
Note: *This feature request excludes indeterminate behaviors. Also, this not the same as the previous "autoderef" feature, as it had been modified to allow overload operators associated with blessed packages. The original autoderef feature did not allow blessed packages and neither would this one. More than once I've asked when the change to allow blessed packages was inserted into the code (as it was the reason this feature was declared invalid), yet no one seemed to be able to point to the discussion where changing this to allow such references existed.
In any event, since this feature doesn't allow blessed packages, it cannot be used with overloading.