I don't understand why the $pkg was used with "{}" arround it before "$". could someone give me a hint or where to look for the anwser? thanks a lot,sub some_sub { my ($pkg) = caller; @{"${pkg}::_ATTR"} = @_; ... }
In reply to why the variable is used this way? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |