Re: [MacPerl-AnyPerl] script does not give me the output

[email protected] (Chris Nandor) Sun, 25 May 2003 17:07:41 -0400
Newsgroups perl.macperl.anyperl
Message-ID <p05200f0abaf6e0e994ab@[10.0.1.177]>
At 22:50 +0200 2003.05.25, Jan Theofel wrote:
>I installed Macperl and used it to run a script. But the script didn't return
>me any output although one of it's first commands is printing it's name to
>STDOUT. Then I installed the Aplha editor mentioned in the FAQ and used the
>function "Save and Run" there. But again I didn't get some output. Even when
>I call "Get output" I don't get it.
>
>After that, I changed the script by adding the lines
>
>print "hello world";
>die;
>
>at the beginning (only a few comments before). Again no output.

It sounds like you are running a script with Unix newlines instead of Mac
OS newlines.  I usually convert scripts with BBEdit, but most text editors,
such as Alpha, should be able to do it as well.

-- 
Chris Nandor                      [email protected]    http://pudge.net/
Open Source Development Network    [email protected]     http://osdn.com/