On Fri, 4 Aug 2000, Damien Neil wrote:
> My opinion on the unlink()/remove() debate: Ignoring our history is
> foolish. Why suddenly transform every Perl program that uses unlink(),
> which has been valid for over a decade, into one using an outmoded and
> deprecated construct? unlink() is, in my opinion, actually clearer
> than remove(), for it more accurately specifies what the operation
> does.
I agree with this. Changing the name of a function without any gain in
functionality seems a bit mad. localtime is under "attack" for specific
reasons unrelated to its name.
When I first started perl (coming from Fortran) I also had trouble sifting
through the docs working out how to remove a file but once I knew it was
unlink I simply used it because that was the perl command for "rm".
--
Tim Jenness
JCMT software engineer/Support scientist
http://www.jach.hawaii.edu/~timj