<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt;color:#0000bf;"><div><span style="font-family: arial,helvetica,sans-serif;">Hi,</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0); font-family: arial,helvetica,sans-serif;">To get the weekday name of current day in Perl, I am using some thing like below. I do not like so many punctuation marks. Can it be simpler?</span><br><br>perl -le 'print [("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")]-&gt;[[localtime(time)]-&gt;[6]]'<br></div>
</div></body></html>