Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    while (my ($n, $f) = each %to_rename) {
        rename $f, $n or warn "Cannot rename $f to $n; $!";
    }