in reply to Re: does a subroutine exist? defined vs glob
in thread does a subroutine exist? defined vs glob
Calling the sub causes it to become defined through autoloading.use Config; print "defined before\n" if defined &Config::non_bincompat_options; Config::non_bincompat_options(); print "defined after\n" if defined &Config::non_bincompat_options;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: does a subroutine exist? defined vs glob
by Anonymous Monk on Jul 23, 2015 at 16:54 UTC |