The -d will test if your "file" is a directory. It took me way too long to learn how to use the very good information that comes with perl itself. Don't do the same; you'll learn much more quickly, plus your boss will never know that you didn't know how to use a certain function ;)
perldoc -f -d will tell you about filetest operators. perldoc -f followed by any perl function will tell you about that function. A great place to start is by doing this: perldoc perl, which will guide you through the TONS of perldocs on your computer. perldoc -q, followed by a keyword will search the FAQ for that keyword. Good luck and have fun! Perl gets better and better as you learn. Matt --- yun yun <[EMAIL PROTECTED]> wrote: > what does "-d $path" mean? > > _________________________________________________________ > Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn > > <font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>—— > 雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]