#!/usr/bin/perl -w

use strict;

opendir my $DIR, "." or die $!;
for (readdir $DIR) { 
    rename ($_, lc $_) unless ($_ eq lc $_);
}
closedir $DIR;

=head1 NAME

B<lc.pl>

=head1 DESCRIPTION

Lower filenames case in working directory.

=head1 COPYRIGHT

Copyright 2010 Etienne LEMEE <coding AT etilem DOT net>

This piece of code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

=cut

