On Thursday 29 Apr 2010, Shlomi Fish wrote: > Just do: > > my ($name) = Function1 ($arg); > > This will evaluate Function1 in list context (instead of scalar or void > context) and only get the first element. But the @_ of a function is not > affected by calls to other functions inside it.
Correct and thanks for clearing my misconception! Is there any way to catch only the second return value then? I am not so sure but I think I had done it in the past using the method that I mentioned earlier (or similar). -- Regards, Akhthar Parvez K http://Tips.SysAdminGUIDE.COM UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity - Dennie Richie -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/