At 17:48 Uhr +1000 19.04.2002, Shannon Murdoch wrote:
>I have a script that I wish to run using MacPerl which gets an error ('too
>big to open') when I try to open it.
>
>Why would it to too big? It's only a 30k file...! Setting MacPerl more
>memory in the Finder didn't help.
>
>Is there any way this can be done?
>
>Some of my scripts get pretty long, and switching back and forth between
>compiler and text editor is annoying.
>
>Cheers,
>-Shannon
MacPerl's built-in editor is based on TextEdit, which has a 32 KB barrier. Hence you
cannot open files larger than 32000 bytes, although you should be able to run them.
That's annoying, sure. Currently there's no way around it, sorry .
For now, you might want to try BBEdit Lite with Brad Hanson's MacPerl plug-ins for
BBEdit
http://www.b-a-h.com/bbedit/index.html (not sure whether or not this URL is
still valid)
or you install MPW and download the MacPerl tool for MPW, which together makes a
pretty comfortable and Unix like Perl-IDE (you get a command line, a good editor with
syntax coloring etc.). All the mentioned software is free (like free beer).
HTH.
Best regards,
--Thomas