Help for this page

Select Code to Download


  1. or download this
    for ( glob "*.abc" ) 
    {
    ...
       s/\.abc$/.edf/; 
       rename $old, $_ or warn "can't rename '$old' to '$_'";
    }
    
  2. or download this
    for( glob "*.abc" )
    {
    ...
        
        rename $_, $new or warn "can't rename '$_' to '$new'\n " if $ok;
    }