in reply to Re: grep problems and file copying issues
in thread grep problems and file copying issues
Good answer.
I'd just like to add don't forget that hash keys are case
sensitive so be to lc() or uc() they keys when you populate
and reference the hash.
Also, depending on how/where the $cdLabel is populated, you
should probably strip all leading and trailing white space,
$cdLabel =~ s/^\s+//;
$cdLabel =~ s/\s+$//;
Hope that helps.