|
|
Choosing A Webhost: |
Re: creating output to a file: msg#00033lang.perl.modules.html-template
in that case, maybe 'print_to' needs to be overloaded so as to take both.... Mathew > The 'print_to' parameter takes an open filehandle. You have to open the > file first on your own for writing and then pass the file handle in. For > instance, if you opened 'test.tmpl' under the filehandle 'FH', then you > pass '$template->output( print_to => *FH );' > > > > >I am trying to put to create a static page using > >html::template. I tried using print > >$template->output(print_to => 'test.tmpl'); and it > >doesn't change the test.tmpl file and I am totally > >stuck please help. > > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Script under mod_perl occasionally gets garbage opening template, Mathew Robertson |
|---|---|
| Next by Date: | event calendar code, Kapoor, Nishikant |
| Previous by Thread: | Re: creating output to a file, Timm Murray |
| Next by Thread: | event calendar code, Kapoor, Nishikant |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |