Connecting Tech Pros Worldwide Forums | Help | Site Map

Editor with embedded-Perl-interpreter?

Paolo
Guest
 
Posts: n/a
#1: Nov 12 '08
I don't remember the name of this application for Windows but i've
make use of that once.

Do you know an editor which allows the execution of Perl-script
on selected text?

The Perl-script are in a submenu of the Tools menu.
---
THANX4URTIME!

Jeff Schwab
Guest
 
Posts: n/a
#2: Nov 12 '08

re: Editor with embedded-Perl-interpreter?


Paolo wrote:
Quote:
I don't remember the name of this application for Windows but i've
make use of that once.
>
Do you know an editor which allows the execution of Perl-script
on selected text?
>
The Perl-script are in a submenu of the Tools menu.
You might have better luck in a group about editors. There's nothing
apparently perl-specific about your question.

In Vim, type :!foo (from Normal mode) to run the shell command "foo" on
your selected text. For example, to double all the numbers in the
currently selected text:

:'<,'>!perl -pe 's/\d+/$&*2/eg'

Once you've selected the text and hit :, the '<,'are inserted in the
command line automatically. You just type ! and the shell command.
Jürgen Exner
Guest
 
Posts: n/a
#3: Nov 12 '08

re: Editor with embedded-Perl-interpreter?


Paolo <lap76@19yahoo.comwrote:
Quote:
>Do you know an editor which allows the execution of Perl-script
>on selected text?
EMACS, of course.

jue
Closed Thread