in reply to The day of today
I know if I got rid of "use strict" it could be much shorter, but at work all scripts must have this.
and for a very good reason. As for your code:
#!/usr/local/bin/perl use strict; use warnings; my @localtime = localtime(); print "Today is day $localtime[3].";
UPDATE: changed @localtime to $localtime, ++haoess
Software speaks in tongues of man.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphores.
In Section
Seekers of Perl Wisdom