Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Answer: Revision controlled Perl DataStructure

by expertseries (Initiate)
on Mar 08, 2006 at 16:02 UTC ( #535197=categorized answer: print w/replies, xml ) Need Help??

Q&A > hashes > Revision controlled Perl DataStructure - Answer contributed by expertseries

Here's another, rob thanks for that example of sprintf.
print "Content-Type: text/plain;\n\n"; #------------------------------------------------------------------ # Current time as 'YYYYMMDD.HHMMSS' (GMT) ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=gmtime(time); $revision = sprintf("%04d%02d%02d.%02d%02d%02d", $year+1900,$mon+1,$mday,$hour,$min,$sec); #------------------------------------------------------------------ print "\n\nRevision: $revision\n\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2020-03-28 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (167 votes). Check out past polls.

    Notices?