http://www.perlmonks.org?node_id=335651


in reply to matching constants within a regular expression?

I think what you want is ${\ATTRIBUTE_0} or @{[ATTRIBUTE_0]}.

What you have, @{ATTRIBUTE_0}, is basically the same as @ATTRIBUTE_0 without the braces.

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler