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
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,
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
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