On Mon, 2007-08-13 at 17:47 +0800, lena wrote:
> Ow,
> 
> Calling an external command works too. There is always more than
> 1 way of doing something in perl.

and in all *nixes..

> timelocal() is the reverse of localtime().  Given a list of 
> ($sec,$min,$hour,$mday,$mon,$year), it returns the time.
> 
That's the thing. Too many variables and I had to filter it through a
regex just to get it sorted out individually and then get it re-parsed.

It's just a pain.

But your solution is elegant, though long..

_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to