This works:
My print statement works without complaint:DESCRIPTION => { .... }, UNUSED => {XlsColumn => -1} } );
print grep ({ $DetailSheet{ColumnName}{$_}{XlsColumn} == 2 } keys %{ +$DetailSheet{ColumnName}} ) ,"\n"; # Note - grep params are enclosed in parens.
All power corrupts, but we need electricity.
In reply to Re^6: grep confusion
by NetWallah
in thread grep confusion
by PriNet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |