A long time ago I ran across mention of an editor as a perl one-liner. (It may have been here-I honestly can't recall.) The code went (line broken for readability here):
perl -MTk -MTk::TextUndo \
-e "(tkinit)->Scrolled('TextUndo')->pack; MainLoop"
(By the way, if anyone might know the original attribution for that bit of code, please let me know-I've found it quite useful from time to time, and would love to direct credit where it is due.)
Update: (21 Jun 2006) A trip to the a good search managed to find a mention of the code above dating from a 2002 thread on editing large text files, which could very well have been where I might have first encountered it.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.