my \&foo = sub { }?
[email protected] (Eric Brine) Tue, 7 Apr 2026 20:36:14 -0300
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <CALJW-qHysA_=EuZzSp9PfAetn+G1UYxXCUZnkmvqc9mKPKb2bw@mail.gmail.com> |
When using the lexical_subs, refaliasing and declared_refs features, We have C<< my sub foo; \&foo = REF; >> We have C<< my \$foo = REF; >> Why don't we have C<< my \&foo = REF; >>