in reply to Re^3: Use cases for 'sub Pckg::func { }' ?
in thread Use cases for 'sub Pckg::func { }' ?

Well, I'm asking about use cases for the syntax and you are describing the semantics .

The exporter will certainly not apply a

sub X::foo {Block}

syntax.

TIMTOWTDI, but in which circumstances would I want to "do it this way"?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^5: Use cases for 'sub Pckg::func { }' ?
by ikegami (Patriarch) on Aug 01, 2020 at 16:28 UTC

    I was replying to "What are the use cases of that pattern?", and the pattern was described as "where the anonymous sub carries its package context around." That is apparently not what you wanted.