Squash 'Use of uninitialized value' errors

Go through passed array and set anything false to an empty string to clean up test output
This commit is contained in:
Duncan Ferguson 2010-06-18 23:10:36 +01:00
parent f862782d73
commit f77c6a9fa7

View file

@ -63,6 +63,7 @@ sub _translate {
sub loc {
my ( $self, @args ) = @_;
$_ ||= q{} foreach (@args);
return _translate(@args);
}