> >Yes. You can even find out what the caller is expecting. Well, to an >extent anyway. > >peldoc -f wantarray >
Wow! thats new and interesting. I looked at a couple of examples on it. It seems to be true if a return value is expected by the caller context. Is this that? or it is true only when a return value is expected and it should be an array only, as it says wantARRAY. Also, how is it implemented? is it something that is pushed onto the activation stack along with other local variables? _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]