Getting next Monday...

2001-12-06 Thread Shinagare, Sandeep
Hi All, I am trying to find the date, month and year of the next Monday given any day. I am using this to get todays date/day/month etc. Is there a way to use this information to get the next Monday? #snip-start $thisday=(Sun,Mon,Tue,Wed,Thu,Fri,Sat)[(localtime)[6]]; $thisdate=(localtime)[3];

today's date....

2001-12-05 Thread Shinagare, Sandeep
Hi Folks! Trying to get todays date and month... was able to find this... #snip-start use Time::localtime; $tm = localtime; ($DAY, $MONTH, $YEAR) = ($tm->mday, $tm->mon, $tm->year); #snip-end this gives me the Day and Month in numbers.. anyway in which i can get "Mon","Tue","Wed" and "Jan

copying files

2001-12-05 Thread Shinagare, Sandeep
Hi, Just trying to copy a file from one location to another like this. #snip1 system ("copy c:\msg.txt c:\sandeep\msg.txt"); #end which works fine. But how can i give it a dynamic file name say like... #snip2 $vfilename="TestFile.txt"; system ("copy c:\msg.txt c:\sandeep\$vfilename"); #end thi

RE: Simpler....

2001-12-05 Thread Shinagare, Sandeep
Hi All, I am trying to learn Perl and want to begin with getting an interpreter for the Windows OS (NT). Which are the good ones around for download? Also, any pointers for basic tutorials? Thanks a lot. Sandeep -Original Message- From: Maxim Berlin [mailto:[EMAIL PROTECTED]] Sent: 05 De