No idea what shebang perl is! I checked for the perl location with find . -name perl -print and found it in many locations. I plumped for /usr/bin/perl
I wouldn't have thought the perl part is the problem as the error message seems to indicate the script can't be found.
That's why the PATH immediately sprang to mind - perhaps there's a typo or 'foreign' character in it? Maybe try exporting the full PATH again including the errant one:
export $PATH:/path/to/your/directoy
Sorry - the shebang is usually the first line of a script, telling where to find the shell/program used to run the script - like:
#!/usr/local/bin/perl
for example. Hopefully someone else will be along with some other ideas for you.
The internet - allowing those who don't know what they're talking about to have their say.
Cracked it! I logged out and logged back in again. The PATH looked ok but I'd been shelling out and back in during the course of my last session so I guess things got screwed up.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.