in reply to Re: Re: Execute error on opendir
in thread Execute error on opendir
If the elements in /Scripts/rotlog do not include the absolute path to the directory, you'll need to get the absolute path to the directory from somewhere.my $current_abs_dir = "/path/to/opendir/directory"; while ($name = readdir(REP)) { $abs_name = "$current_abs_dir/$name"; if (-M $abs_name >= 10) {
HTH.perldoc -f opendir perldoc -f readdir
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Execute error on opendir
by mikevanhoff (Acolyte) on Aug 14, 2002 at 14:48 UTC |