in reply to stripping whitespace gives an 'unitialized value' error

It seems as if the split didn't return anything useful to the two variables $initial_datetime and $backlog. That would explain, why there are uninitialized values in the lines 20 and 22: The script tries to print uninitialized variables.
So I guess, too, that there is a line without a comma, so that your split doesn't work.
  • Comment on Re: stripping whitespace gives an 'unitialized value' error

Replies are listed 'Best First'.
Re^2: stripping whitespace gives an 'unitialized value' error
by stevemayes (Scribe) on Jun 18, 2009 at 08:22 UTC
    I've also added  set number to my .vimrc file to make lines explicit.