# This will put installed perl files into some other location # Note that we cannot put hashbang to be extproc to make Configure work. use Config; $dir = shift; $dir =~ s|/|\\|g ; $nowarn = 1, $dir = shift if $dir eq '-n'; die <) { next if $file =~ /\.exe/i; $base = $file; $base =~ s/\.$//; # just in case... $base =~ s|.*/||; $file =~ s|/|\\|g ; print "Processing $file => $dir\\$base.cmd\n"; system 'cmd.exe', '/c', "echo extproc perl -Sx > $dir\\$base.cmd"; system 'cmd.exe', '/c', "type $file >> $dir\\$base.cmd"; }