Dan Fish wrote:

Yes... I could do that, and HAVE actually done that before for other routines due to the "fire-fighting" time constraints of the moment :-) This time I was hoping to increase my *very-limited* knowledge of Perl for a more elegant solution, because I'm sure I'll need to do something similar again...

Gunnar's response actually worked quite well... (Thanks Gunnar!)

        sub striphtml {
         local $_ = shift;
         do 'striphtml.pl';
         $_
        }

$page = striphtml($page);

Yes, but that is less efficient as you have to read and compile a separate file at runtime.



John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to