RE: Yesterday's date

2002-04-07 Thread Wagner, David --- Technical Specialist I ---WGO
Subtract number of seconds in a day 86400 from time: ($sec,$min,$hour,$mday,$mon,$year,undef,undef,undef) = localtime(time - 86400); Will give you yesterday. Mutliply by 2 - 2 days ago, 3 - days ago, etc. Wags ;) -Original Message- From: Troy May [mailto

RE: determine the invoking function

2002-05-16 Thread Wagner, David --- Technical Specialist I ---WGO
You use the function caller (see Perl Programming chapter 22) and use 0 for current stack, 1 for the caller, 2 for caller's caller, etc. To see who I am, caller(0). To see who called me, caller(1). Wags ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

RE: relative dir match question

2002-05-21 Thread Wagner, David --- Technical Specialist I ---WGO
The (?! regex) is called a zero-width negative look-ahead assertion which in this case says if the first character of the search is NOT a / then you have a relative directory name. With this type of test, there is no association of a hit to $1, $2, etc. You could just as easily do