• 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 D'oh::Year Download

D'oh::Year

August 22, 2009
This software detects and prevents errors when manipulating dates, such as Y2K bugs.
Version 0.06
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Michael G Schwern
I recently came across a software module called D'oh::Year which claims to resolve an issue that many programmers fear in their codebase. This issue is the Y2K bug, which originated due to the historical way that programming languages like Perl return the year in a specific format. The format returns years as the number of years since 1900 instead of the last two digits of the current year. Unfortunately, this has led to some programmers making incorrect assumptions about how to set the current year, leading to Y2K problems.

Thankfully, D'oh::Year provides a solution to this problem. The module provides special versions of localtime() and gmtime() functions that return a rigged value for the year. When used properly (usually by adding 1900 to the year), no difference is noticed. However, when used improperly, the module will die with a message stating the year is being misused. Naughty operations that will cause the module to throw an error include trying to set the current year as "19$year", "20$year", "200$year", or subtracting 100 from the year.

For those looking for a solution to the Y2K problem, D'oh::Year offers correct ways to manipulate the year in Perl. These include using $year += 1900 to get the complete year, and $year %= 100 to get the last two digits of the year. The module provides a useful solution for anyone who may be affected by the Y2K issue in their codebase.

Overall, I found D'oh::Year to be a helpful module that offers a solution to a longstanding problem in programming. The module is easy to use and offers a simple way to manipulate years in Perl correctly. If you're looking for a Y2K-safe solution for your Perl codebase, then I would definitely recommend giving D'oh::Year a try.
What's New

Version 0.06: N/A

Free Download 5.2K
311
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Rxpd plugin for XChat
The Rxpd plugin for XChat allows users to filter incoming conversations using ...
vinSMSIndia
Send free SMS messages to Indian mobile users with vinSMSIndia software.
Sybase module for Python
This software offers a Python-based solution to interact with the Sybase database ...
Free Conquest & Colonization of America
Free Conquest & Colonization of America is a modernized version of the ...
PHPFinance
PHPFinance is a web-based finance management software that aids in finance management ...
JGuiGen
JGuiGen is a software that generates elegant Java Graphical User Interface (GUI) ...
Ant SVK Task
Ant SVK Task allows easy integration of SVK SCM tool into Ant ...
backup.py
Backup.py simplifies diff and full backups for servers.
ElegantJ Network Bean
ElegantJ Network Bean package comprises of FTP, HTTP, POP3, SMTP and MIME-complaint ...
Prasi
Prasi is a Perl or PHP-based single-sign-on system that functions similarly to ...
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.