develooper Front page | | Postings from October 2005

Re: PHP Template Global Variables

Thread Previous
David Wheeler
October 26, 2005 20:54
Re: PHP Template Global Variables
Message ID:
On Oct 26, 2005, at 8:46 PM, George Schlossnagle wrote:

>> I have to know too much about the internals. Any chance you could  
>> add  the methods we'd discussed before to make this more idiomatic?
> Could you remind me what the syntax we discussed is/was?

You suggested:

   $perl->method('DateTime', 'now');

That works for me. A use() or require() method (probably the latter,  
given that it's runtime) would be welcome, to:

   $perl = Perl::getInstance();
   $now = $perl->method('DateTime', 'now');



Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About