Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Easy Perl troubleshooting - now solved! Never mind!
#1
What's wrong with...

----------------
use Time::Local;

use strict; use warnings;

print "\n";

#determine both start and end dates for import
my $dt = timelocal(0,0,0,1,0,106); #1/1/2006
my $dtEnd = time();

While ($dt <= $dtEnd) {
print $dt;
$dt += (60*60*24);
};
----------------
Reply
#2
Got it; "while" can't be capitalized.

Sorry; used to VBA in Excel. :-)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)