http://www.perlmonks.org?node_id=1004178


in reply to Re^2: Help with perl game
in thread Help with perl game

Hi, i am still not sure what is wrong with it, please help and thank you.

If you're not sure what its supposed to do that its not doing, how is anyone?

This looks wrong  if (open (DH,"<$trophy_cabinet>")) {

You probably meant if( open DH, '<', $trophy_cabinet ){

I didn't look past that glaring error , because I don't Xchat::