Hi Shlomi,

Thanks for your valuable comments. Will definitely keep it in mind in future
scripts.


I've ran it and I still cannot figure out the bug.



Here is the bug -

pa...@station3:/tmp$ perl /tmp/oops.pl
Chetak goes Neigh
Chetak eats Long grass
Chetak has Brown color
An unamed Horse goes Neigh
An unamed Horse eats Long grass
*An unamed Horse has  color*
Chimpu goes Baaah
Chimpu eats Small grass
Chimpu has White color
An unamed Sheep goes Baaah
An unamed Sheep eats Small grass
*An unamed Sheep has  color*
pa...@station3:/tmp$

As shown in the above output color for unnamed Horse is not getting printed.

Cheers,
Parag

Reply via email to