in reply to Regex a little less greedy please

De-greedify that dot-star like so
my $str = q[<APPEND changed_date="02-02-2003">This is sample text</APPEND>]; print "match: ", $str =~ m{ <APPEND (.*?) > }x, $/; print "post: ", $', $/; __output__ match: changed_date="02-02-2003" post: This is sample text</APPEND>
Check out perlre for more info on perl's regex engine.
HTH

_________
broquaint