Perl Newbie and OSX
Hi All,
I've recently taken up learning Perl, but I've hit a snag that seems to be new with the 10.1.4 update. In order for scripts to run, they must utilize Unix-style line feeds instead of Macintosh carriage returns.
I've tried using BBEdit to add the line feeds, but this doesn't seem to work (I've switched on this option in both the preferences pane and in the options pane that pops up from the Save dialog).
Is there a way to put the line feeds into the script itself?
Any help would be appreciated!
TIA
I've recently taken up learning Perl, but I've hit a snag that seems to be new with the 10.1.4 update. In order for scripts to run, they must utilize Unix-style line feeds instead of Macintosh carriage returns.
I've tried using BBEdit to add the line feeds, but this doesn't seem to work (I've switched on this option in both the preferences pane and in the options pane that pops up from the Save dialog).
Is there a way to put the line feeds into the script itself?
Any help would be appreciated!
TIA
Comments
Thanks for the reply. I gave your suggestion a try, but it didn't make a difference.
If I could trouble you a bit more, perhaps you could make a suggestion?
Whenever I try to run a script in the terminal, all I get is a new prompt.
This is what I type:
chmod +x filename.pl
Am I doing something incorrectly?
Best,
hc