in reply to Re: Re: Check tag value
in thread Check tag value
should be something like:if ( $Lines eq "<NumberofDays>\d+</NumberofDays>" )
3 differences between your and my line:if ( $Lines =~ m|<NumberofDays>(\d+)</NumberofDays>| )
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 perlretutprint $1
|
|---|