[comp.lang.perl] Where's calendar.pl

aks%anywhere@hub.ucsb.edu (Alan Stebbens) (03/22/91)

Hmmm... I've just looked over the recently announced Python language.
It looks very clean and simple, yet powerful.  I like it.  Once I looked
at the Python libraries, I saw how a four line program will do a yearly
calendar for me:

 #!/bin/python
 import time
 import calendar
 calendar.prcal((calendar.localtime(time.time()))[0])

Did you ever notice how a bit Perl program has a lot of dollar-signs in
it?  Kind of visually noisy, huh?

One thing, why hasn't someone done a "calendar.pl" or "time.pl" for
Perl?

 #!/bin/perl
 require 'calendar.pl';
 &calendar((localtime(time))[5]);

By the way, I like and use Perl, too!  (Just throwing some fat on the
fire)

Alan