(Anno Siegel) wrote in message news:<c4hbqn$ce3$>...
> > How can the script reach line 3917 and then report "uninitialized
> > value"?!?!?
>
> Are there else-clauses?
Yes, the script continues (where "..." signifies irrelevant code to
output data) :
--------------------------------------------------------------------------------
3913 sub print_price_nicely {
3914 my ($model,$link,$price) = (@_);
3915 return unless ($price);
3916 if ($price) {
3917 if ($price eq "") {
....
3920 }
3921 elsif ($price =~ /TBC/i) {
....
3925 }
3926 elsif ($this_index =~ /INDEXU/) {
....
3929 }
3930 else {
....
3935 }
3936 }
--------------------------------------------------------------------------------
Are you thinking that the error is actually on one of the "elsif"
statements and is being incorrectly flagged as the first "if" line?
Thanks for your help,
Chris.