On Mon, Apr 14, 2008 at 12:50 AM, Richard Lee <[EMAIL PROTECTED]> wrote:
snip
> >    my $start = qr/@{[ POSIX::strftime( '%b %e %H:', localtime time - 
> > ONE_HOUR ) ]}/;
snip
>  I will have to try out your POSIX solution as I have particular in adding
> space if date is single digits (April 3 gets additional space vs April 11
> which does not).
snip

from man strftime
     %e    is replaced by the day of month as a decimal number (1-31); single
           digits are preceded by a blank.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to