The at commands reads lines from standard input and executes them using /bin/sh.
By sheer coincidence, your regular script contains lines that are executable by /bin/sh (well, not sheer coincidence, that's why it is called a shell script)
Anyway, at will try to execute your perl script using /bin/sh, which will most likely result in a pile of errors, since /bin/sh usually can't make sense of perl commands.
Groetjes,
Kees-Jan
|