Skip to content

Commit 387d25b

Browse files
committed
Also permit a GLOB ref to ::for_reference
1 parent f6bce36 commit 387d25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ppcs/ppc0022-metaprogramming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Some less common functions that may still be useful in some situations. These fu
7373
$metavar = meta::for_reference($ref);
7474
```
7575

76-
Given a reference to a package variable or subroutine, returns a meta-object instance to represent it. If `$varref` is not a SCALAR, ARRAY, HASH or CODE reference, an exception is thrown.
76+
Given a reference to a package variable or subroutine, returns a meta-object instance to represent it. If `$varref` is not a GLOB, SCALAR, ARRAY, HASH or CODE reference, an exception is thrown.
7777

7878
Anonymous subroutines should be supported; at least in order to obtain a meta-object to represent them so that methods like `set_subname` can be called on them.
7979

0 commit comments

Comments
 (0)