Module::New::Recipe::Edit - edit a file


Module-New documentation Contained in the Module-New distribution.

Index


Code Index:

NAME

Top

Module::New::Recipe::Edit - edit a file

USAGE

Top

From the shell/command line:

module_new edit Module::Name

opens lib/Module/Name.pm with an editor.

module_new edit t/test.t

opens t/test.t with an editor.

OPTIONS

Top

in
  module_new edit Test::Module --in t

opens t/lib/Test/Module.pm, not <lib/Test/Module.pm>.

AUTHOR

Top

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Top


Module-New documentation Contained in the Module-New distribution.

package Module::New::Recipe::Edit;

use strict;
use warnings;
use Module::New::Recipe;
use Module::New::Command::Basic;

available_options ();

flow {
  guess_root;

  loop {
    set_file;

    edit_mainfile;
  };
};

1;

__END__