On Thu, 2005-03-10 at 15:42, Greg London wrote:
> I have a OpenOffice document that is a perl training manual.
> 
> http://www.greglondon.com/iperl/
> 
> The manual has a lot of perl excerpts in it.
> I'd like to be able to keep the excerpts in external files
> and somehow shadow them in the document, so that I can run
> the perl script to check for typos, and if I change anything,
> it shows up in the document.
> 
> right now, the code is pasted in the document,
> and to run it, I paste it into a file, save it,
> and run it. If there are bugs, I fix them,
> and then paste the content back into the document.
> 
> Is there an easier way to do this?
> 
> Maintenance has become a nightmare.
> 
This maybe a dumb idea, but what about working the other way.

I have been thinking about developing macros for Writer so that Syntax
highlighting occurs, and can select a portion of text and at the click
of a button run an external interpreter.

I confess that I know virtually nothing about Perl, so I'm not sure how
feasible this idea is for Perl.

Thanks, Ian
Web: http://homepages.paradise.net.nz/hillview/OOo/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to