Exporter errors give wrong location
[p5sagit/p5-mst-13.2.git] / utils / splain.PL
index ef7c457..75b5e2f 100644 (file)
@@ -15,6 +15,7 @@ use File::Basename qw(&basename &dirname);
 # This is so that make depend always knows where to find PL derivatives.
 chdir dirname($0);
 $file = basename($0, '.PL');
+$file .= '.com' if $^O eq 'VMS';
 
 # Open input file before creating output file.
 $IN = '../lib/diagnostics.pm';