easily be exported for use in a browser-facing web application: use JSON qw(encode_json); my $patterns = encode_json($RE{VATIN}); =head1 CAVEAT In keeping with the standard set by the core