[Templates] mysql date parsing

2004-06-30 Thread Dennis Daupert
This must have been address before, but a google on: lists.template-toolkit.org mysql date gave me no clues. I need to display date stored in mysql in more human readable form than: 20040628192733 I'd like to parse out the year, month, day, and have the choice to arrange the pieces i a different

Re: [Templates] mysql date parsing

2004-06-30 Thread Gavin Estey
You might find Time::Piece::MySQL helpful. See: http://cpan.japh.org/cgi-bin/index.cgi?Time::Piece::MySQL Gavin. Dennis Daupert wrote: > This must have been address before, but a google on: > lists.template-toolkit.org mysql date > gave me no clues. > > I need to display date stored in mysql in

Re: [Templates] mysql date parsing

2004-06-30 Thread Brett Sanger
> Is there a plugin method that can do this, or some simple macro > code? I've found the standard "Date" plugin to work just fine for that. See perldoc Template::Plugin::Date -- SwiftOne / Brett Sanger [EMAIL PROTECTED] ___ templates mailing lis

Re: [Templates] Odd....

2004-06-30 Thread Dylan Hardison
On Wed, 30 Jun 2004 06:40:14 +0100, Dave Cross <[EMAIL PROTECTED]> wrote: > > Anyway, what've I missed? > http://www.template-toolkit.org/pipermail/templates/ Yes, I've been reading that a bit... Has anyone started on writing a replacement for ttree yet? Or shall I dive in? :) (hmm, gmail's "repl

Re: [Templates] Odd....

2004-06-30 Thread Randal L. Schwartz
> "Dylan" == Dylan Hardison <[EMAIL PROTECTED]> writes: Dylan> (hmm, gmail's "reply" sends to the person, while "reply all" sends to Dylan> the list + the person... Dylan> Oh how I miss mutt) That's exactly *what* it should do! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: [Templates] Patch: Full unicode support for TT under 5.8

2004-06-30 Thread Mark Fowler
On Sun, 27 Jun 2004, Mark Fowler wrote: > Can someone please check this over for me? Bah, Wornocked. In this case, if no one jumps up and down and screams DEAR GOD NO, WON'T SOMEONE THINK OF THE CHILDREN I'll commit the changes to the CVS repository where people might actually have a look at the

Re: [Templates] Odd....

2004-06-30 Thread Brett Sanger
On Wed, Jun 30, 2004 at 09:50:34AM -0700, Randal L. Schwartz wrote: > > "Dylan" == Dylan Hardison <[EMAIL PROTECTED]> writes: > > Dylan> (hmm, gmail's "reply" sends to the person, while "reply all" sends to > Dylan> the list + the person... > Dylan> Oh how I miss mutt) > > That's exactly

Re: [Templates] Odd....

2004-06-30 Thread Dylan Hardison
On 30 Jun 2004 09:50:34 -0700, Randal L. Schwartz <[EMAIL PROTECTED]> wrote: > > "Dylan" == Dylan Hardison <[EMAIL PROTECTED]> writes: > > Dylan> (hmm, gmail's "reply" sends to the person, while "reply all" sends to > Dylan> the list + the person... > Dylan> Oh how I miss mutt) > > That's

Re: [Templates] Odd....

2004-06-30 Thread darren chamberlain
* Dylan Hardison [2004/06/30 14:07]: > On 30 Jun 2004 09:50:34 -0700, Randal L. Schwartz <[EMAIL PROTECTED]> wrote: > > > "Dylan" == Dylan Hardison <[EMAIL PROTECTED]> writes: > > > > Dylan> (hmm, gmail's "reply" sends to the person, while "reply all" sends to > > Dylan> the list + the person

Re: [Templates] Design question

2004-06-30 Thread Jeff Anderson
I recommend you either look into Class::DBI or just get your data back with DBI's handy { Slice => {} } modifier. Observe: my $things = $dbh->selectall_arrayref('select foo, bar from baz', { Slice => {}} ); Now, if the query succeeded, $things will be a reference to an anonymous array that contai

Re: [Templates] Design question

2004-06-30 Thread Jeff Anderson
Buddy, with all due respect, it seems to me that your "wheel" is not exactly round, at least not as round as picking another solution. Personally, i avoid objects that treat hashes and arrays the same ... sure it might make your code "cooler" ... but's it not exactly rational. After all, why is th

Re: [Templates] Solaris 9

2004-06-30 Thread Stas Bekman
Larry Dalton wrote: Got a problem with building templates on SUN Solaris-9. I don't have the SUN Studio compiler, just gcc. I've used the latest 'perlgcc Makefile.PL' which doesn't seem to help keep it from calling 'cc'. Has anyone a template that looks for gcc ? So as to run it on SUN? Larry, try

Re: [Templates] Solaris 9

2004-06-30 Thread Stas Bekman
[please always keep the conversions on the list when asking for help, unless asked to take it offline] Larry Dalton wrote: That's my point, it doesn't. Solaris doesn't come with 'cc', you have to buy it. [...] If you still have troubles compiling TT post the output of 'perl -V' Your 'perl -V' p