<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span style="font-family: '.HelveticaNeueUI'; font-size: 15px; line-height: 19px; white-space: nowrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; "><a href="https://metacpan.org/module/Data::Visitor::Callback">https://metacpan.org/module/Data::Visitor::Callback</a> perhaps?</span></div><div><br>On Jun 14, 2013, at 15:28, Josh Heumann <<a href="mailto:pdx.pm@joshheumann.com">pdx.pm@joshheumann.com</a>> wrote:<br><br></div><blockquote type="cite"><div><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>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Pdx-pm-list mailing list</span><br><span><a href="mailto:Pdx-pm-list@pm.org">Pdx-pm-list@pm.org</a></span><br><span><a href="http://mail.pm.org/mailman/listinfo/pdx-pm-list">http://mail.pm.org/mailman/listinfo/pdx-pm-list</a></span></div></blockquote></body></html>