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 reply to Re: The day of today
by Erez
in thread The day of today
by gtrain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |