in reply to Re^3: How to grep for a filename for each of the keys of a hashin thread How to grep for a filename for each of the keys of a hash
my @array = grep (/\Q$file_name\E/i, keys %pathname_versions);
That's the right thing.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (327 votes). Check out past polls.