go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
is it posible to be able to distinguish between the following 2 possible invocations ... &some_sub; and some_sub(@_); ?? Yes. Inspect (caller(0))[4] to determine if the function was called with or without arguments. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In reply to Re: Determination of a subs' invocation from within the sub
by BrowserUk
|
|