[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: Problems installing Mac Glue



On Mon, 27 Dec 1999 14:23:31 -0500, Chris Nandor wrote:
>
>>Alpha seems a very nice editor for working with Perl, but I seem to be
>>having a problem with carriage returns (reported as such but with code
>>/012) and the Apple Events Alpha is usIing.  Taking the text from a
>>script that works well in the Perl editor and pasting it into Alpha to
>>run it, I get the error reported that "I may have got the file over a
>>network and not converted the line endings" or somethin, like that.  No
>>matter what I do, even if there is not a cr or a char 12 in sight and
>>even if I save the Perl document and open it in Alpha, I can't get rid
>>of this error.
>
>I don't use Alpha (I use BBEdit), so I am the wrong person to ask; perhaps
>someone else can help?

Sounds like he's trying to feed MacPerl Unix or DOS text files. which of
course does not work. Alpha will show you what kind of text a file conbins
in its status bar at the bottom of the screen. It will show either "Mac",
"IBM", or "Unix" in a little box. That's the only way you'll know what
kind of end-of-lines are in the file, since Alpha has no problems working
with any of them. If you click on the box, you can select the type of text
you want in a pop up. Make sure that Perl scripts that you're going to run
with MacPerl are Mac text files. Nothing else will work.

You might also make sure you're using the latest Alpha, 7.2.2, just to be
sure you've got the latest version of Perl mode.

>
>-- 
>Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])
>
># ===== Want to unsubscribe from this list?
># ===== Send mail with body "unsubscribe" to
macperl-request@macperl.org
>
>
>
>



-------
Paul J. Schinder
schinder@pobox.com


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org