($h[$i] eq 'N/A') ? 0 : $h[$i];
that looks suspicious to me... I'm thinking what you really wanted was:
But having typed that just now I have a question as to what has been assigned to $i? Either your code snippet is woefully incomplete or ... ??? Did you use strict;?$h[$i] = ($h[$i] eq 'N/A') ? 0 : $h[$i];
In reply to Re: N/A replacement not working
by blue_cowdawg
in thread N/A replacement not working
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |