The main store/restore functionality works fine with compiled regexes - I would have thought that dclone uses the same code? How does anyone else do deep cloning of hashes?psh% print Dumper $foo $VAR1 = { 'bar' => qr/(?-xism:bar)/ }; psh% $foo2 = Storable::dclone $foo psh% print Dumper $foo2 $VAR1 = { 'bar' => qr/Regexp=SCALAR(0x8df0b40)/ };
In reply to Storable::dclone breaking compiled regular expressions by aufflick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |