Re: Recursive Directory Copy (with resource forks) in Mac OS X



After looking into the source for File::Copy::Recursive I see that
this is due to its reliance on the copy() method in the superclass
File::Copy. And all of this is due to the fact that perl does not
have a built-in "copy file" function, which is well-known and seems to
have been discussed by people smarter than me who are discussing
whether or not to fix it in perl 6 [1]. So, I'll just use my own
workaround of calling system() to invoke darwin's cp (which copies
resource forks in Mac OS 10.4 or later).

[1] http://groups.google.com/group/perl.perl6.internals/browse_thread/thread/1c11f0a67bde34c2/572e317b67a0c8e6?#572e317b67a0c8e6

.



Relevant Pages

  • RFC: Astro::ECI (or Astro::Coord::ECI, or ...)
    ... I have been attempting to put together some satellite tracking modules in Perl. ... The code has fallen into three modules: one representing the satellite, one representing the Sun, and a superclass representing "static" coordinates and providing all the coordinate transformations. ...
    (comp.lang.perl.modules)
  • Re: Reference overloading helps inheritance
    ... AS> Inheritance in Perl OO has its difficulties when it comes to data ... AS> implementation of the superclass. ... AS> Time::Piece does, this means I can compare tapes with each other, or ... Search or Offer Perl Jobs ...
    (comp.lang.perl.misc)
  • Re: Overridden methods
    ... It's a more advanced question than most, ... >> If a sublass has overrides a method in a superclass, ... Perl does not enforce private and public parts of its modules as you may ...
    (perl.beginners)
  • Re: Getting started in Perl for OSX
    ... Do you know how to bring up a terminal on your mac? ... Find the utilities directory and you'll ... Then enter any perl command, ... > this e-mail and any attachments for viruses. ...
    (perl.beginners)
  • Re: My Dilemma: Linux vs OSX
    ... compiling kernels, modifying source code for apps, ... e-mail, web news, Usenet, and perl ... OSX "looks like" Linux deep under the hood, but at a higher level, I ... feel lost reading, say, the Mac newsgroups. ...
    (comp.sys.mac.system)