Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl/gtk program and which makes use of the File::Util module. The problem is that it abruptly terminates when using the list_dir method on a directory where you do not have permissions.
--- Error ---
The system returned this error: »Permission denied«I would like to trap the error and then bypass the directory/directories where I do not have permissions
Any recommendations on how to manage this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::Util list_dir question
by holli (Abbot) on Nov 30, 2009 at 15:39 UTC | |
by Anonymous Monk on Nov 30, 2009 at 16:14 UTC | |
by holli (Abbot) on Nov 30, 2009 at 17:13 UTC | |
by Tommy (Chaplain) on Dec 08, 2009 at 13:37 UTC | |
by holli (Abbot) on Dec 08, 2009 at 14:07 UTC | |
| |
|
Re: File::Util list_dir question
by stefbv (Priest) on Nov 30, 2009 at 14:45 UTC |