in reply to
metachar match
the objn line now has braces in it
See
perlre
on
(??{ code })
for an example of matching stuff in (), including any nested () pairs. You can easily adapt it to matching curly braces.
Comment on
Re: metachar match
Download
Code
In Section
Seekers of Perl Wisdom