The code already reads the file only if it exists:
readConfigurationFile( $path ) if ( -e $path );
That is the same as:
if ( -e $path ) { readConfigurationFile( $path ); }
I think that aborting if the file doesn't exist is too strong
a reaction.. so I'm inclined to ignore it!
Steve Kemp wrote:
[...]
I think that aborting if the file doesn't exist is too strong
a reaction..
There is technically no use to give a non-existing config file - that is
clear because it's just ignored, if it doesn't exist - no action is taken.
So, if a user gives --config with an
On Sat, Dec 09, 2006 at 06:17:40PM +0100, Henning Sprang wrote:
So, if a user gives --config with an unexisting file it is therefore
very likely a typo, which the user wants to be warned as fast as
possible. In this case, there's no use to run the install until the end
with an unwanted
3 matches
Mail list logo