-d checks if the following expression or string is a directory.
Teddy's Center: http://teddy.fcc.ro/
----- Original Message -----
From: "Maisha Walker" <maisha@...>
Sent: Monday, September 30, 2002 1:15 AM
Subject: [PBML] what is "-d"
I hope everyone's had a nice weekend.
I was looking through a perl program and found this line inside a
return unless (-d '/usr/local/www/docs/INSERTURL.com/tpl'); #don't send
the INSERTURL is where the actual URL is.
Can anyone explain what this does? It seems like perhaps it stops the
subroutine unless something is true, but I don't understand the "-d".
Unsubscribing info is here:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/