correctly (from Simon Cozens <simon@brecon.co.uk>)
p4raw-id: //depot/perl@5849
unless ($Is_Dir) {
unless (($_,$dir) = File::Basename::fileparse($abs_dir)) {
- ($dir,$_) = ('.', $top_item);
+ ($dir,$_) = ('./', $top_item);
}
$abs_dir = $dir;
warn "Couldn't chdir $abs_dir: $!\n";
next Proc_Top_Item;
}
-
- $name = $abs_dir;
-
+
+ $name = $abs_dir . $_;
+
&$wanted_callback;
}