Re: my \&foo = sub { }?
[email protected] (Eric Brine) Tue, 7 Apr 2026 23:25:24 -0300
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <CALJW-qFbVLRs7txzViey7YdTXWa49whGv3MskHKZphxL-1u0BA@mail.gmail.com> |
We also have C<< \&foo = REF; >> On Tue, Apr 7, 2026 at 8:36 PM Eric Brine <[email protected]> wrote: > > 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; >> > >