The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

${NAME} [[file] [line]]

With no argument, edits file containing most recent line listed. The value of the environment variable EDITOR is used for the editor to run. If no EDITOR environment variable is set /bin/ex is used. The editor should support line and file positioning via

 editor-name +line file-name

(Most editors do.)

Examples:

 ${NAME}            # Edit current location
 ${NAME} 7          # Edit current file at line 7
 ${NAME} test.rb    # Edit test.rb, line 1
 ${NAME} test.rb 10 # Edit test.rb  line 10