Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: localtime(time()) function in header

by dReKurCe (Scribe)
on Feb 17, 2005 at 17:35 UTC ( #432008=note: print w/replies, xml ) Need Help??


in reply to localtime(time()) function in header

Here's one possible solution :
#! /usr/bin/perl use Time::localtime; $day=localtime->yday(); $month=localtime->mon(); $year=localtime->year() ; $month=+1; $year +=1900; $string="Spacley"; @date=("$day","$month","$year" ); write(); format STDOUT_TOP= Spacely Sprockets Report Beta 1 @##@##@#### $day ,$month,$year . format STDOUT= @<<<<< @<<<<<<<< @<<<<<<< $string,$string,$string .

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432008]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2016-12-11 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.