At 02:28 PM 2/17/2006 -0500, John Deighan wrote: >That in no way explains where the values that end up in those >variables come from. Also, see my other post about the creation of >the lexical variables in statement like "my $var = <expr> if ><condition>". If I'm wrong in that post, I'd like to know why.
They get their value in the if ($nextID==$maxID) block. That evaluates to 0==0, true. Then ($nextID,$maxID) = getNextMax($Customer); assigns them their values. Now on the second pass to if ($nextID==$maxID) it's 100==150 which is false and they never get new values. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
