I'd like to run short perl programs on a text file, basically converting
some characters to other characters, so this would require about 10 replacements
done on a file. After that I want to search for possible errors in a text file
that was created from OCR. We sometimes have a word, a space, then the
period/punctuation mark. These need to be correct. 

Is there a way to set up  a menu item in PSPad to run an external perl program
to do this? 

This can also be useful to sort my variables in a Perl declaration by selecting
one line. So this: 

my($c,$b,$z,$test,$t1);

becomes this; 

my($b,$c,$t1,$test,$z); # Variables are sorted.

Thanks.

-- 
<http://forum.pspad.com/read.php?2,66236,66236>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem