Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: matching constants within a regular expression?

by thelenm (Vicar)
on Mar 10, 2004 at 23:00 UTC ( #335651=note: print w/replies, xml ) Need Help??


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