| Module-New documentation | Contained in the Module-New distribution. |
Module::New::Recipe::Edit - edit a file
From the shell/command line:
opens lib/Module/Name.pm with an editor.
opens t/test.t with an editor.
module_new edit Test::Module --in t
opens t/lib/Test/Module.pm, not <lib/Test/Module.pm>.
Kenichi Ishigaki, <ishigaki@cpan.org>
Copyright (C) 2007-2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| 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__