http://www.perlmonks.org?node_id=946466


in reply to Re^2: XML::Twig output problem
in thread XML::Twig output problem

Make that the first ad not the last, sorry, long week. If I flush it, it deletes all the ads even though the comparison is valid to keep them!

Replies are listed 'Best First'.
Re^4: XML::Twig output problem
by Anonymous Monk on Jan 05, 2012 at 20:50 UTC

    If I flush it, it deletes all the ads even though the comparison is valid to keep them!

    Sounds like nonsense. flush is used for printing the twig to output. If that isn't what you want, stop flushing

      I agree, it does, which is what brings me here. Not flushing I get the first ad, the remaining ads fail the comparison as the previous value of JobActiveDate is combined with it - the print $adate -|- $date proves this. Flushing nets me no ads at all. I do not understand what I have done to illicit this behavior.