Subject: | Suggestion for better error messages |
In the file Cache/FileBackend.pm, line 572:
rename( $temp_path, _Untaint_Path( $p_path ) ) or
throw Error::Simple( "Couldn't rename $temp_path to $p_path" );
It'd be nice if $! could be included in that error message somewhere since
I'm at a loss as to why I get about one of these rename() failures per day when using Cache::Cache via HTML::Mason.
The same goes for all such calls that may fail and set $! when they do: rename(), mkdir(), etc.