grep would give you 'info1', for example. If you want $input{$_}, use map instead.
- tye
In reply to Re^3: a simple question... (map) by tye in thread a simple question... by Anonymous Monk