New module for renaming files within an editor
From: Bob Heckel (gg2.20.bheckel_at_spamgourmet.com)
Date: 10/28/04
- Previous message: anatolym: "Image data parsing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Oct 2004 17:53:10 -0700
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
Robert S. Heckel Jr., E<lt>gg2.20.bheckel@spamgourmet.com<gt>
=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
- Previous message: anatolym: "Image data parsing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|