in reply to Ternary Operator with Subroutine
The difference between the two is that in the first example, you are creating an anonymous subroutine and not saving a reference to it so you'll never be able to access it. The second example is running a named subroutine, which is perfectly legitimate.
|
|---|