|
Posted by Bob Heckel on October 27, 2004, 6:53 pm
Please log in for more thread options
I have developed a utility that I'd like to add to CPAN. As far as I
can tell the functionality does not exist already.
I've never contributed to CPAN before so any comments would be
welcome, especially regarding namespaces, etc. Thanks.
Here's the documentation:
=head1 NAME
Renamer - Perl extension for performing interactive filename changes
from within an editor.
=head1 SYNOPSIS
use Renamer;
InteractiveRename();
Recognizes switches:
-d debug mode
-v verbose mode
E.g.
$ cat mytest.pl
#!/usr/bin/perl
use strict;
use warnings;
use Renamer;
# Rename any, all or no files in a directory passed in as @ARGV.
InteractiveRename();
$ mytest.pl -dv ~/mydir
=head1 DESCRIPTION
Interactive file renamer allows filename changes from within a user's
favorite editor. Most useful when complicated or one-time repetitive
changes to a directory must be made but programmatic solutions are
probably not worth the time to implement. Ignores subdirectories, if
any.
=head2 EXPORT
None by default.
=head1 SEE ALSO
Perl's rename function.
=head1 AUTHOR
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2004 by Robert S. Heckel Jr.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.2 or,
at your option, any later version of Perl 5 you may have available.
=cut
|