edit [[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.)
edit # Edit current location edit 7 # Edit current file at line 7 edit test.rb # Edit test.rb, line 1 edit test.rb 10 # Edit test.rb line 10
To install Devel::Trepan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Trepan
CPAN shell
perl -MCPAN -e shell install Devel::Trepan
For more information on module installation, please visit the detailed CPAN module installation guide.