Elaine -HFB- Ashton wrote:
> 
...
> Solution:
> 
>   sub get_date {
> 
>        $date = scalar localtime;
> 
>   }
> 
> yes, that's it. Now, I realise that this isn't portable to NT
...

Not to pick nits, but ...

C:\>perl -e "print scalar localtime"
Mon Dec 13 21:55:46 1999

and 

% perl -e 'print scalar localtime'
Mon Dec 13 21:57:11 1999


Apart from the obvious observation that I really need to sync my clocks,
looks to me like it's identical. (Both running Perl 5.005.03)

Rich
-- 
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt

Reply via email to