in reply to Re: [SOLVED]: Using glob in file test gives "Use of uninitialized value in -e" warning.
in thread [SOLVED]: Using glob in file test gives "Use of uninitialized value in -e" warning.
Although if you really need to sudo, then it may be the only way.
Even then, I would probably use sudo to run the perl script and use unlink in the script. Having to work with some random default shell is just a mess, and it can be quite dangerous with elevated privileges.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [SOLVED]: Using glob in file test gives "Use of uninitialized value in -e" warning.
by Laurent_R (Canon) on Dec 07, 2017 at 22:19 UTC |