isync has asked for the wisdom of the Perl Monks concerning the following question:
It's okay to do so if $! = "Permission denied". But what if there's a path in it?, like $! = "/var/www/site/dir/that/you/should/not/know/file.ext, file not found."# something happened print "Sorry guys: an error occured: ".$!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filtering error string $!, for example remove paths
by Corion (Patriarch) on Aug 27, 2010 at 19:02 UTC | |
by isync (Hermit) on Aug 27, 2010 at 19:11 UTC | |
by Marshall (Canon) on Aug 27, 2010 at 21:49 UTC |