On Wed, 24 Oct 2001, Gross, Stephan wrote:

> I have a subroutine
>
> sub xyz
> {
>
>     if ($a = $b)
>     {
>            return;
>     }
> }
>
>
> When I run this in the debugger, it stays frozen on the RETURN statement.
> Shouldn't the RETURN break out of the xyz subroutine?
> Also, this used to work until I made some changes.  Am I missing something
> obvious?

I think you want 'if($a == $b)' or 'if(a$ eq $b)'

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Wow!  Look!!  A stray meatball!!  Let's interview it!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to