Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Text Editor other than Simple Text

by cdherold (Monk)
on Aug 16, 2001 at 11:23 UTC ( [id://105292]=perlmeditation: print w/replies, xml ) Need Help??

I've been using SImple Text to write my CGI's for a while and it works great, but lately my scripts have been getting long. Recently, I tried to paste some code into an already long Simple Text file and it wouldn't accept it. It said (to paraphrase) the limits of the Simple Text file had been reached.

What do I use now? I have tried with Dreamweaver, but it starts throwing in random tags that mess up the script every time i go into edit, and it doesn't look like word perfect will work because of embedded code.

I must have other options. If they're out there, I figured you guys would know where to point me.

thanks monks,

cdherold

Replies are listed 'Best First'.
Re: Text Editor other than Simple Text
by tachyon (Chancellor) on Aug 16, 2001 at 11:34 UTC

    Check out Outside Links for a long list of editors. You could also use Super Search for keywords like 'code editor' to turn up the masses of discussion on this. I use Perl Builder 2.0 but this is *not free* although it does have a free demo and offers heaps of goodies as it is a full blown IDE that you can both write and run scripts in (including a CGI simulation).

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: Text Editor other than Simple Text
by John M. Dlugosz (Monsignor) on Aug 16, 2001 at 12:03 UTC
    You might also try breaking up your long file into shorter ones. Make nice-sized modules and the main program collects these modules together. Any code you have in common between scripts? Factor it out! A function with a lot of helpers? break that out into a separate package.
Re: Text Editor other than Simple Text
by chipmunk (Parson) on Aug 16, 2001 at 19:58 UTC
    The best text editor for the Macintosh is BBEdit. Besides the full commercial version, there is also a free* version called BBEdit Lite.

    BBEdit has lots of great features, including grep-like search and replace, an HTML syntax checker, syntax coloring for Perl and other languages,and integration with MacPerl.

    Check it out!

    * Free as in beer.

Re: Text Editor other than Simple Text
by trantor (Chaplain) on Aug 16, 2001 at 12:11 UTC

    I assume you use Macintosh.

    Do you want to be adventurous and bold? Try emacs for Mac!

    Even more adventurous? There's vim (a vi clone) for MacOS. This is my preferred but be warned, it won't work as you expect, for sure! Vim has even got a Perl interface to extend its functionalities.

    I suggest you to read tutorials for both editors, it's definitely worth it. Both editors have syntax highlighting and many many many useful features for programmers (e.g. go to the parenthesis that matches this one, autoindent and so on)

    Think about being able to search and replace using regular expressions for example :-)

    For more down to earth software (but less flexible and powerful for sure), have a look at the editors section in Tucows.

    Happy editing!

    -- TMTOWTDI

      From my viewpoint as a part-time Macintosh user, trantor gave you two good examples of Avantgarde text editors for the Macintosh.
      More conservative Macintosh users will prefer the commercial BBedit, its free cousin BBeditLite, Alpha or Pepper. A good overview on Macintosh editors and their URLs you will find at the Mac TeX/LaTeX Web Site.
      HTH
      Hanamaki
Re: Text Editor other than Simple Text
by belize (Deacon) on Aug 16, 2001 at 19:40 UTC
    Agreed that you should use the search and the links page. But if you are using Simple Text on the Mac platform, there is only one real choice and that is BBedit, a VERY powerful program for coding Perl on the Mac. You can find out more at http://www.bbedit.com .
Re: Text Editor other than Simple Text
by adamcrussell (Hermit) on Aug 16, 2001 at 21:03 UTC
    I like to use the same environment no matter what platform I am working on. I use vi on mac,windows, and *nix. emacs is available on an equally diverse range of platforms as well.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://105292]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found