On Wed, Jul 06, 2005 at 09:17:59AM +0100, Nik Clayton wrote: > Hmm. The import() in Test::Symlink is exactly the same (mod > s/ok/symlink_ok/) as the recommended import() from the Test::Builder > SYNOPSIS (in Test::Simple 0.60). > > Do you mean that the SYNOPSIS in Test::Builder is also wrong?
Umm... differently correct? Ok, its wrong. > There is an argument to be made about making the common operations as > easy as possible, but I suspect that most uses of symlink_ok() are going > to be after the tester has already conducted their own tests on $dst > (does it exist, does it have the right permissions, is it owned by the > correct user, and so on), so making carrying out these tests in > symlink_ok() is superfluous. > > "Small, sharp tools" and all that :-) There's small, sharp tools and then there's lettuce forks. Don't overspecialize. And again, for the uncommon case of wanting a symlink to a file which does not exist you can have a dangling_symlink_ok() function. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern Ahh email, my old friend. Do you know that revenge is a dish that is best served cold? And it is very cold on the Internet!