Syntactic Confectionery Delight | |
PerlMonks |
Re: array assignmentby dragonchild (Archbishop) |
on Nov 12, 2004 at 19:50 UTC ( [id://407495]=note: print w/replies, xml ) | Need Help?? |
In your specific case, I would use something like Date::Calc to handle the uglies. Or, you could write a function that wraps that. :-)
As for the coolness factors ... you could use mapcar -- map for more than one list. That way, you might end up with something like:
Of course, you now have to explain how mapcar works and ... well, maybe it's too cool. :-) Being right, does not endow the right to be rude; politeness costs nothing.
In Section
Seekers of Perl Wisdom
|
|