Dating perl script
/usr/bin/perl use strict; print "Content-type:text/html\n\n"; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; my @weekday = qw(Sunday Monday Tuesday Wednesday Thursday Friday Saturday); my @month = qw(January February March April May June July August September October November December); $year = 1900; print "$weekday[$wday], $month[$mon] $mday, $year"; exit; The output of this Perl CGI script is similar to the above except it will print the day and month as two digits, prepended with a 0 (zero) if necessary. Change the output order and delimiting characters to suit your own date format preferences.
You can use these Perl file test operators in your scripts to determine when files are getting "old" (where the definition of "old" is up to you).
IBM® Rational Clear Case® is a Software Configuration Management tool that benefits both small and large software development teams.
The complexity of the tool, and the fact that individual developers use it in different ways, can make the life of a Software Configuration Manager quite difficult.
Typically, they have used tools like RCS or CVS, where you need to get a copy of the files to be able to access them (that is, you need to check out all the files).
However, there are times when you need to check out or check in everything because your favorite IDE does not accept files that have the "read only" attributes.
For more details about the -fmt option, run a command.
As you know, most Windows users do not like to use the old MSDOS command shell.
I am not a Perl expert, and you will immediately see that my knowledge of Perl language is limited, but hopefully these scripts are easy to understand.
Since I know that the complexity of this command is pretty high, I prefer to execute steps sequentially, and make improvements after each step, before reaching my final command.
Let's use an example (from the cleartool manual) about the cleartool find command.
One of the first questions new Clear Case users ask is: how is it possible to check out or check in all the elements behind a directory recursively, using the Clear Case / Windows Explorer integration?
I find myself asking why they would like such functionality.