<div dir="ltr">Hey folks,<br><br>I'm sure this is just me having a lapse of memory, but can anyone recommend a module for running a regular expression over a large and arbitrarily-nested data structure?<br>Ideally something like this:<br>
# %data_structure is a hash containing hashrefs, arrayrefs, strings, but no objects.%data_structure =~ s/foo/bar/g;<br>...would replace foo with bar in all strings at all levels.<br>J</div>