Re: Interpolate variable in a __DATA__ block



"a" == aneely <aneely@xxxxxxxxxxxxxx> writes:

a> I've installed the Inline::Files module as suggested by Chas. and will
a> be looking at that as well. The Warning about over-writing files made
a> me wonder though.

a> Perhaps I'm just as well sticking with my current usage of here-docs.

have you even read my replies?? are you just thick?? i keep telling you
that what you are trying to do is wrong and will lead you into deep
trouble one day. plain interpolation or the /eeg trick means you MUST
have all your data in scalar variables at the moment you expand
things. that is a major pain and hard to maintain. also it won't allow
extensions which you will want one day. ALL templaters had to add
extensions since plain scalar expansion is never enough.

use a template module.

uri

--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- http://perlhunter.com/college.html ---------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
.