Help for this page

Select Code to Download


  1. or download this
    open DH, '\\hostname\sharename\' or die $!; # NB: single quotes
    # or open DH, "\\\\hostname\\sharename\\" ... if you use double quotes
    print $_, $/ for readdir DH;