On Fri, 10 Dec 2004 09:48:26 -0500, Felix Li <[EMAIL PROTECTED]> wrote:

Is there "a one liner" that performs the equivalent of
sub ReturnAndClear {
   my $temp=$_[0];
   $_[0]=undef;
   return $temp;
    };

Why would you need that? While you just can simply use like: $val = undef; in the code? -- Regards, Edward WIJAYA Singapore

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to