On Wed, Jul 06, 2005 at 09:17:59AM +0100, Nik Clayton wrote: > > "Small, sharp tools" and all that :-)
One of the smallest, sharpest tools I have is a script called C<lns>. It takes a file name and a link name and creates a link to the file. The best part is that it doesn't care about the order of the file and the link. It simply DWIM. My concern with symlink_ok() is that I'll go to use it and have to repeatedly check the syntax to see which should be the link and which should be the file. Although I don't mind writing tests, I'd prefer a test function that doesn't force me to think about the syntax of the test function and let me focus on writing test cases to match the documentation. P.S. See http://use.perl.org/~TorgoX/journal/24654 for the most recent incarnation of lns. Steve Peters [EMAIL PROTECTED]