Click here to get back home

New module for renaming files within an editor

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
New module for renaming files within an editor Bob Heckel 10-27-2004
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


Similar ThreadsPosted
Batch Renaming a group of files in a directory. November 28, 2007, 1:33 am
Module(s) for generating PDF files November 28, 2004, 8:56 am
Any module for reading Apache log files? October 6, 2004, 9:17 am
Portable dot-files (hidden-files) ? November 5, 2007, 1:20 am
Which module should I use in order to load files over the internet? October 5, 2006, 3:38 pm
RFC: New module 'Module::Bundled::Files' August 26, 2005, 3:49 pm
Printing of PDF Files July 12, 2004, 4:55 pm
Attaching files with exe. June 6, 2008, 1:35 am
Compare huge XML Files February 23, 2005, 2:01 am
MakeMaker and data files March 22, 2006, 8:02 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap