in reply to use DateTime gives error

You're missing an exclamation mark in the very first line, after #. Update: That's causing the shell to think it's a shell script instead of a perl script, and the first error message you're seeing is actually from the shell trying to run a program called use.

Replies are listed 'Best First'.
Re^2: use DateTime gives error - solved
by pgmer6809 (Sexton) on Mar 20, 2021 at 15:58 UTC
    I'm an idiot. It came to me as I was on the verge of sleep last night. I was hoping I could delete this before anyone noticed. :(! Thanks for the help. pgmer6809

      No worries, it happens to everyone :-)