in reply to OS-integrated Perl

how about vi:
:2,8!./foo.pl
uses foo.pl on line 2..8.