|Subject:||Make get_text accept multiple tokens to read up to|
As is it now, get_text only accepts one endtag, i.e., $p->get_text( [$endtag] ) But what if I want to get the text up to either an <a>, <img> or <frame> token, for example? This is extremely useful in the context of retrieving text from a page with its surrounding links or images, see WWW::Mechanize. Please consider get_text to have the same arguments as get_tag, namely ([$tag, ...]). I (still) have a three-line patch lying around if you are interested, please consider it!