in reply to Re^5: grep confusion
in thread grep confusion

You are probably missing a comma in your "unused' key.

This works:

DESCRIPTION => { .... }, UNUSED => {XlsColumn => -1} } );
My print statement works without complaint:
print grep ({ $DetailSheet{ColumnName}{$_}{XlsColumn} == 2 } keys %{ +$DetailSheet{ColumnName}} ) ,"\n"; # Note - grep params are enclosed in parens.

                All power corrupts, but we need electricity.