[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Newbie question about Perl programs

> > Here's an example of a submit file that doesn't work:
> >
> > universe = vanilla
> > executable = HeyNow.pl
> Have you got
> #!/usr/local/bin/perl

This won't work on Windows under the cmd shell. The Windows cmd shell
finds executables and their associated execution programs based solely
on file extensions not on shebang lines at the head of files (that's a
feature found in csh, bash, zsh, etc.). You'll either need to make the
.pl extension an executable and associate it with your local perl
interpreter or convert the perl script to a .bat file with pl2bat.

- Ian