ya i figured that out , there is a possibility that numbers having - sign are not being blocked so I modified by code . please tell if it is fine or not
if (($array_H[$i] !~ /^[0-9]+$/) &&($array_H[$i] !~ /^-+$/))
I am new to perl so please pardon me for obvious mistakes
In reply to Re^2: non numeric data
by torres09
in thread non numeric data
by torres09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |