Exercise for Test::Builder


Given the following convenience function (exported by MyTools.pm ), please test if it works properly.


my $fh = get_fh(MODE, FILENAME)

my $in = get_fh('<',  'data.txt');