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
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
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