http://qs1969.pair.com?node_id=343628


in reply to Re: Re: Check tag value
in thread Check tag value

Hi, you're code:
if ( $Lines eq "<NumberofDays>\d+</NumberofDays>" )
should be something like:
if ( $Lines =~ m|<NumberofDays>(\d+)</NumberofDays>| )
3 differences between your and my line: Hope this helps getting you started. For documentation on regular expressions there are 2 good tutorials that come with perl that were not mentioned here: perlrequick perlretut