Here is a puzzler.
To start, let me say that I've done a search on this issue and it is definitely not related to line endings being encoded in windows returns.
I get this error when I run SOME perl scripts. I have a script called hello_world.pl. I do $cp hello_world.pl new_hello_world.pl and run new_hello_world.pl I get the error but not on the original hello_world.pl.
I've restarted the box to no effect.
If I edit hello_world.pl and make changes... no problem.. runs just fine.
I'm on a Mac with Snow Leopard using macports version of perl but I don't see how that could matter considering I'm copying a working script. Permissions and line endings are, of course, the same.
I did a port update outdated a while ago but I don't think that explains the issue.
Any pointers would be grand.
---------- Post updated at 05:14 PM ---------- Previous update was at 03:37 PM ----------
eh... must have been a screwy perl install I deleted it and reinstalled perl and it seems to work now.