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
Documentation of sub EXPORT still uses %() to return exported symbols. This is considered incorrect behavior due to hashes itemizing their values. I.e. instead of, say, exporting a routine a symbol is exported as a Scalar containing a routine.
Correct examples must use Map.new instead of hash:
subEXPORT {
Map.new:'&doit'=> sub { ... },
...
}
Sorry for not producing a PR, don't have time for it.
The text was updated successfully, but these errors were encountered:
Documentation of
sub EXPORT
still uses%()
to return exported symbols. This is considered incorrect behavior due to hashes itemizing their values. I.e. instead of, say, exporting a routine a symbol is exported as aScalar
containing a routine.Correct examples must use
Map.new
instead of hash:Sorry for not producing a PR, don't have time for it.
The text was updated successfully, but these errors were encountered: