in reply to Weird printing
@cat1 = `/bin/cat template.html`; #template html $cat2 = `/bin/cat data.txt`; #data file contains html snipets open(F, ">foo.html"); foreach (@cat1) { s/%%insert_here%%/$cat2/ge; } print F @cat1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Weird printing
by LunaticLeo (Scribe) on Aug 09, 2000 at 19:53 UTC | |
by chromatic (Archbishop) on Aug 10, 2000 at 00:12 UTC |