On Wed, 2007-02-07 at 20:43 +0530, Sharan Basappa wrote:
> cmd line arg, the script needs to output one of these template files.
> Definitely
> I would not like to open a file, read it and then output it since moving the
> script
> (to another project etc) would mean that the files need to be moved too.
> Having this information in the same script would make it self contained.

use the normal inline data process but put a keyword in between each
template that you use to split it up.

@@@@mytemplate1@@@

template1

@@@@mytemplate2@@@

template2

-- 
Ken Foskey
FOSS developer


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


Reply via email to