http://qs1969.pair.com?node_id=1020803


in reply to uninitialized error

Uninitialized error would raise, whenever you try to access the value of scalar, array or hash in perl. To validate it, as per moritz use defined function which would give false when the value is undefined. It is better to use string and warnings in a perl program to get warning messages and alert for undeclared scalars, arrays, hashes used in the program.