Help for this page

Select Code to Download


  1. or download this
    copy( "C:\\somename", C:\\some_path\\some_other_name" )
    
  2. or download this
    # this is a test example
    my $name = 'doc.txt';
    ...
      return defined $names{$name} ? 0 : 1;
      # return -e $name ? 0 : 1;
    }
    
  3. or download this
    sub get_unique_filename {
        my $name = shift;
    ...
        }
      return $name.$tries.$ext;
    }