The following fragment of code retrieves an integer
 from an array that is passed by reference. It was
 working fine:
 
 my $t = @$curr_true[$ev_count];
 
 I made some changes else where in the program (from
 which this fragment comes) and suddely both the web
 server and (thank goodness) the debugger started
 aborting on the above statement! I had not changed
 this portion of the program!
 
 So as suggested by earlier advice I had received
 from
 this mailing list, changed it:
 
 my $t = $$curr_true[$ev_count];
 
 That did not help! This did not help either:
 
 my $t = $curr_true}->[$ev_count];
 
 Finally, in dispare, I started randomly
 experimenting
 and found that this fixes the problem (at 3AM):
 
 my $t = @{$$curr_true}[$ev_count];
 
 Why would this fix the problem? I have plenty of
 other
 array references that use the $$x{$i} syntax and
 they
 still work fine.
 
 I'm using perl 5.6.1 on NT4 SP6.
 
    Thanks much,
          Siegfried


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to