• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux UNIX::Cal Download

UNIX::Cal

March 7, 2009
The Perl wrapper is developed as an alternative for the original cal UNIX command line tool to provide improved functionality and flexibility. It simplifies the process of printing calendars and displaying calendar information on the command line.
Version 0.01
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Piers Harding
UNIX::Cal is a Perl wrapper that offers an implementation of the classic UNIX command line tool, cal. This software pays tribute to the original code developed by The Regents of the University of California and Berkeley, thanks to Kim Letkeman. UNIX::Cal allows users to specify switches that change the command's behavior, similar to the original UNIX cal. For instance, using the switch -m, users can set Monday as the first day of the week.

The software includes three switches that can change the command's behavior: -m, -j, and -y. The -m switch sets Monday as the first day of the week. The -j switch generates the days in Julian format, while the -y option automatically creates a calendar for the year.

UNIX::Cal features one method - cal(). This method is pushed into the package's namespace, so it doesn't require a fully qualified name. The cal() method is called in three different ways. Calling without any arguments gives the calendar for the current month unless -y is specified. Calling cal(5,2002) returns the calendar for May 2002, while cal(2002) returns the calendar for all months in 2002.

The results from the cal() method are array references. When calling the method for a single month, the results look like this:

```
$VAR1 = [
[ 'May', 2002 ],
[ 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa' ],
[ '', '', '', 1, 2, 3, 4 ],
[ 5, 6, 7, 8, 9, 10, 11 ],
[ 12, 13, 14, 15, 16, 17, 18 ],
[ 19, 20, 21, 22, 23, 24, 25 ],
[ 26, 27, 28, 29, 30, 31, '' ]
];
```

On the other hand, when calling the method for a year, the results look like this:

```
$VAR1 = [
[ 2002 ],
[ [ 'January', 2002 ],
[ 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa' ],
[ '', '', 1, 2, 3, 4, 5 ],
[ 6, 7, 8, 9, 10, 11, 12 ],
[ 13, 14, 15, 16, 17, 18, 19 ],
[ 20, 21, 22, 23, 24, 25, 26 ],
[ 27, 28, 29, 30, 31, '', '' ]
],
[ [ 'February', 2002 ],
[ 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa' ],
[ '', '', '', '', '', 1, 2 ],
[ 3, 4, 5, 6, 7, 8, 9 ],
[ 10, 11, 12, 13, 14, 15, 16 ],
[ 17
What's New

Version 0.01: N/A

Free Download 6.5K
273
  • Share on:

Most Popular

  1. SlideMap 1.2.2
    103
  2. Quicksilver Forums 1.4.2
    87
  3. CherryTV 0.1
    79
  4. WikEd
    78
  5. porm r2
    73
  6. Intel Software Development Emulator 1.70
    69
  7. xstereograph 2.1
    69
  8. fuseftp 0.8
    63
  9. Proxy filesystem for FUSE 1.0.0
    62
  10. Siesta::UserGuide 0.66
    62

Related Downloads

aDraw
aDraw is a comprehensive painting software that enables the user to save ...
MailRecon
MailRecon is a content control software that monitors network traffic to capture ...
Brutalo Deluxe
Brutalo Deluxe is a 2D action game for single players which features ...
cddsolve
CDDSolve is a software that solves double dummy bridge problems.
Autofs NG
Autofs NG is a Linux autofs automounter designed for interoperability.
linHDD
linHDD is a software tool designed to manage and optimize hard drives.
Kahel OS
Arch Linux-based distribution running on Linux.
Findutils
GNU Find Utilities are essential for directory searching in GNU OS.
Date::Calc
This software calculates dates in the Gregorian calendar.
Tk::CanvasLogo
This software features a Tk::Canvas widget that enables multiple turtles and supports ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.