Re: Curious about Time::Local

2009-05-24 Thread John W. Krahn
Thomas H. George wrote: What is $dow in the line from Alpaca, p77: my ($sec, $min, $hour, $day, $month, $year, $dow) = localtime; _D_ay _O_f the _W_eek Curious, I wrote #!/usr/bin/perl -w use strict; use Time::Local; Time::Local is not being used in your code so there is no need to in

Re: Curious about Time::Local

2009-05-24 Thread Chas. Owens
On Sun, May 24, 2009 at 11:47, Thomas H. George wrote: > What is $dow in the line from Alpaca, p77: > > my ($sec, $min, $hour, $day, $month, $year, $dow) = localtime; > > Curious, I wrote > > > #!/usr/bin/perl -w > > use strict; > use Time::Local; > use File::Find; > > my ($sec, $min, $hour, $day,

Re: Curious about Time::Local

2009-05-24 Thread Shrivats
On Sun, May 24, 2009 at 9:17 PM, Thomas H. George wrote: > What is $dow in the line from Alpaca, p77: > > my ($sec, $min, $hour, $day, $month, $year, $dow) = localtime It's the day of the week. 0 through 6 --> Sunday through Saturday. :) > > Curious, I wrote > > > #!/usr/bin/perl -w > > use stri

Curious about Time::Local

2009-05-24 Thread Thomas H. George
What is $dow in the line from Alpaca, p77: my ($sec, $min, $hour, $day, $month, $year, $dow) = localtime; Curious, I wrote #!/usr/bin/perl -w use strict; use Time::Local; use File::Find; my ($sec, $min, $hour, $day, $month, $year, $dow) = localtime; print "Day $day Month ", $month + 1, " Year