Re: File::Copy

[prev] [thread] [next] [lurker] [Date index for 2005/09/21]

From: Juerd
Subject: Re: File::Copy
Date: 11:12 on 21 Sep 2005
Abigail skribis 2005-09-21  1:51 (+0200):
> (perlmonks is to Perl what slashdot is to computer geeks in general --
> the shine attracts the teenagers, but it ain't very useful);

(That's only partly true. Perlmonks certainly can be useful, and has
been very useful for many people. It may not be useful for YOU, but
overall, it certainly and unarguably is useful.)

> Nowadays, if you dare to write:
>     system cp => $src, $dest;
> on most Perl forums, Perl nitwits pop up their heads from under their rocks
> and flame you for not being 'pure perl',

I'd be more concerned with the possibility of having -arguments in $src
(or, if GNU cp is used, in $src or $dest), and with the 4-letterness of
$dest with the 3-letterness of $src :)

> No, I hate File::Copy because when copying a executable, it loses the 
> execution bit. Having been bitten by that 'feature' in the past,
> I haven't used File::Copy for a long, long time. But I'm not the only
> person using Perl at the company I work for. Had a long debugging
> session today -- which ended with replacing File::Copy with 'system "cp"'.

++

This has annoyed me too, and I too have not used F::C for years. 


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Generated at 14:00 on 22 Sep 2005 by mariachi 0.52