Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing Cal in an array

Status
Not open for further replies.

Tanag

Programmer
Oct 5, 2005
18
0
0
CA
I'm writing a program that will output an HTML file which has a calendar on it. The calendar is displayed in a tabular format. What I'm having trouble with is detecting which day of the week the month starts, as well as how many days are in a month. I'm trying to use the UNIX cal command to retreive this data. Is there a way I can store the output of cal into an array?

Any help would be greatly appreciated.
 
CPAN and look for HTML::CalendarMonthSimple;

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top