in reply to
bad interpreter: No such file or directory
use dos2unix script.pl script.pl
Comment on
Re: bad interpreter: No such file or directory
Replies are listed 'Best First'.
Re^2: bad interpreter: No such file or directory
by
Anonymous Monk
on Oct 03, 2016 at 22:26 UTC
Sometimes, dos2unix complains it can not convert. But in linux, do a vi edit on this file, and add a space at the end, delete it , then save it for VI to understand it has to 'resave'. It became fine. Need time to debug this issue.
[reply]
In Section
Seekers of Perl Wisdom