Clear questions and runnable code
get the best and fastest answer
Strange and rare? A simple dispatch table illustrates taking a reference before a function is seen, as the table typically comes before subroutines.
As for a reference evaluating to undef, the concept seems wrong. If a reference can't be taken it should be an error; if it can, you should get a reference. Are there any examples of this behavior in Perl now?