in reply to Re: strangeness with prototypes and 'logical defined or'?
in thread strangeness with prototypes and 'logical defined or'?

It works this way:
perl -ce 'sub foo (&) {} (foo {;}) // 7'

Replies are listed 'Best First'.
Re^3: strangeness with prototypes and 'logical defined or'?
by ikegami (Patriarch) on May 26, 2015 at 20:56 UTC
    Are you asking why it's interpreted as a defined-or in that case? Because it's impossible for a match operator to be present there.