Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • 2) Don't call external shell function when internal libraries are faster.

    Apparently, he hasn't heard Abigail's talk on File::Copy.

    • Apparently you (nor I until now) had read the article either. He actually has an example of using perl to copy files using a system call versus using File::Copy, and favors the File::Copy version (though in the system() version, he also uses system('ls') to get a list of the files). (Nit: the two versions don't do the same thing...the File::Copy version filters by extension).
      • It's the preference to File::Copy that triggered my reaction. File::Copy is very limited, at the edge of being harmful. That is what Abigail points out in his talk.
        • Sorry, for some reason I was temporarily completely missing your it now :-)