This mistake of mine was stupid enough I laughed out loud.
'no uninit warnings from -T with no preceding stat';
SKIP: {
- my $rand_file_name = 'filetest-' . rand =~ y/.//cdr;
+ my $rand_file_name = 'filetest-' . rand =~ y/.//dr;
if (-e $rand_file_name) { skip "File $rand_file_name exists", 1 }
stat 'test.pl';
-T $rand_file_name;
# bug id 20020124.004
# If we have d_lstat, we should have symlink()
- my $linkname = 'stat-' . rand =~ y/.//cdr;
+ my $linkname = 'stat-' . rand =~ y/.//dr;
symlink $Perl, $linkname or die "# Can't symlink $0: $!";
lstat $linkname;
-T _;