That's right I forgot this. I thought about it but I was afraid I'd ruin the modperl prints, but this sinpet is in the Camel book if I recall.
Thank for making my like a little easier Ruben On 2002.04.12 18:08 Ed Grimm wrote: > On Fri, 12 Apr 2002, Ruben I Safir wrote: > > > Now I have another problem. > > > > I need to create html files on the fly. I read in a > > template in the module and print it out through another filehandle to the > > drive. > > > > It only writes 188 characters. I tried setting $| = 1 in the module, but it seems > > to have no effect. Is their a method to write the whole file out? > > $| = 1 only applies to the currently selected filehandle. > > my $fh = select(OUT); $| = 1; select($fh); > > HTH > Ed > -- __________________________ Brooklyn Linux Solutions __________________________ http://www.mrbrklyn.com - Consulting http://www.brooklynonline.com - For the love of Brooklyn http://www.nylxs.com - Leadership Development in Free Software http://www.nyfairuse.org - The foundation of Democracy http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my surprise when I saw you... http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn.... 1-718-382-5752 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]