home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4852 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.1 KB  |  43 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!van-bc!gary
  3. From: gary@wimsey.bc.ca (Gary Gunderson)
  4. Subject: Unimplemented directory operation error
  5. Organization: BC News and Mail
  6. Date: Tue, 21 Jul 1992 18:55:53 GMT
  7. Message-ID: <1992Jul21.185553.20951@wimsey.bc.ca>
  8. Lines: 33
  9.  
  10. Hello Perl Netland,
  11.  
  12. I am trying to implement the mirror suite of PERL scripts using PERL 4.0
  13. rev 4.0.1.4 under SCO ODT 2.0.
  14.  
  15. The mirror.pl script breaks with the following error:
  16.  
  17.     Unimplemented directory operation at ./mirror.pl line 1077
  18.  
  19. The offending chunk of code looks like:
  20.  
  21.         if( !opendir( dir, $dir ) ){
  22.             print "Cannot open local directory $dir, skipping it\n";
  23.             next;
  24.         }
  25.  
  26. The value of $dir at this point is "." .
  27.  
  28. I've created small test scripts that duplicate this routine and they execute
  29. without complaint.
  30.  
  31. I am at a loss as to what to try next. Does anyone have any suggestions
  32. or hints for this PERL programming newbie.
  33.  
  34. Please e-mail your replies. If the answers are in demand by others, I will
  35. summarize to the net.
  36.  
  37. Thank you in advance.
  38.  
  39. Gary Gunderson
  40.  
  41. gary@wimsey.bc.ca
  42.  
  43.