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
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
> 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
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
> "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
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
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
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
* 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
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
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
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
[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
13 matches
Mail list logo