Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bcf64d2899
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.39 kb
use strict;
use warnings;
use Test::More tests => 1;
use Data::UUID qw(NameSpace_DNS);
my $generator = new Data::UUID;
open(my $bad_fh,"<","/a/failing/path/that/does/not/exist/but/sets/dollarbang");
eval {
ok($generator->create_from_name_str( NameSpace_DNS, '' ), "\$! didn't leak!");;
if (my $msg = $@) {
ok(undef, "create_from_name_str failed: $msg");
Jump to Line
Something went wrong with that request. Please try again.