There's more than one way to do things | |
PerlMonks |
Re: regex/perl question about uninitialized valueby toolic (Bishop) |
on Nov 03, 2011 at 14:23 UTC ( [id://935675]=note: print w/replies, xml ) | Need Help?? |
Isn't '$.' representing text between the <ID> and </ID> tags?No. Refer to: perldoc -v '$.' Also, consider using an XML parser from CPAN, such as XML::Twig, instead of a regex.
In Section
Seekers of Perl Wisdom
|
|