> I'm using mod_perl. Basically I want to be able to set the $r->output > or a template variable to the output from another uri. Something like > this in the model: > > $r->output = wget 'https://secure.myoldsite.net/beer'; > > Any standard ways to do that? Jus thought I would ask while > I was triing things
Another option may be to do this directly from your templates via Template::Plugin::HTTP, the idea for which is in the Badger book. I am preparing a CPAN module but have been too busy/lazy to submit. Contact me if you want to try it. One advantage of using it is that it takes advantage of the caching built in to TT. - Mark. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
