in reply to Re^2: Replacing a block of text inside two keys with another block of text
in thread Replacing a block of text inside two keys with another block of text

Filtering a dumped hash like this will not work reliably.

Read the file in with do and filter the desired hash keys with a grep

if this is not possible because of size or because order matters (i.e. wrong data format) consider using another data format!

Probably best a SQL DB

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^3: Replacing a block of text inside two keys with another block of text