good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Accessing data between two tagsby johngg (Canon) |
on Nov 09, 2006 at 11:53 UTC ( [id://583090]=note: print w/replies, xml ) | Need Help?? |
ITYM my ($value) = $line =~ m|<CS_REFCLT>(\d+)</CS_REFCLT>|g; as you are trying to pull out a scalar not an array. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|