Re: petal include: modifier

William McKee <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
On Thu, Jan 13, 2005 at 07:06:18PM -0500, Josh Narins wrote:
> I remember this solution before.
> 
> Doesn't it result in a double petal process'ing of the whole document?
> 
> If not, I'm sorry for not understanding before.

Good question. If we knew everything, there'd be no need for mailing
lists :). In this case, I don't see how this code would result in the
whole document being processed twice. However, it may result in the
included document getting processed twice.

Hopefully Fergal, who is much more familiar with Petal's internals, can
give us his insight. Off the top of my head, I'm not sure what harm
would result from Petal doublely processing a file but suspect it may
get weird.

Perhaps there's a better solution for including dynamically named files.
Anyone using Metal for this purpose? There must be a better way.


William

-- 
Knowmad Services Inc.
http://www.knowmad.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.