> Vivek Khera
>Yes, but print "good\n" if ( "2004-11-23" lt "2004-11-26" ); does what you 
>expect.
> you can't use a numeric compare in perl for strings.
of course I knew that :), but in TT there is no 'lt' :(

> Sean T Allen
>Well that isnt a string per-se, its a date...
But first of all, it's a string :)
Why imposing a lot of overhead by using Date::Calc ?

What I want to know is: How to compare two strings in TT ?





_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to