|
|
| Welcome to the Monastery | |
| PerlMonks |
context-sensitivity for selfwritten functionsby tos (Deacon) |
| on Jan 28, 2004 at 04:03 UTC ( [id://324624]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.tos has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, some intrinsic functions as f.i. 'localtime' are contextsensitive. How can i realize this behavior with my own functions ? How does my function know whether it has to return a scalar- or a list-value ? Is there something to do with overloading ? thanks in advance and regards, tos
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||