This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
-S flag fixes for DOSISH platforms
authorGurusamy Sarathy <gsar@engin.umich.edu>
Wed, 23 Jul 1997 14:52:28 +0000 (02:52 +1200)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)
commit2a92aaa05aa1acbf01092228d30e9b1d7b2a3f61
treef0d1a9aac7dec3b45add5f5b1a0bc394072f504c
parente506e7760ce134b6f8488b1be20fa43aff226564
-S flag fixes for DOSISH platforms

This patch supercedes the one posted here by Ilya
(Message-Id: <199707191651.MAA04897@monk.mps.ohio-state.edu>).

There are no changes for Unix platforms over Ilya's
version.  On DOSISH platforms, the initial check in
the current directory (or the actual path to the script,
if supplied) includes searching for valid extensions.

The fact that -S does not do a PATH search if the supplied
filename contains directory separators (on all platforms) is
documented.  This behavior is similar to Unix and DOS shells.

Note -S *does* have an effect on DOSISH platforms even if no
PATH search happens: valid extensions will be checked for if
the file name is not found.

p5p-msgid: 199707250043.UAA02385@aatma.engin.umich.edu
perl.c
pod/perldiag.pod
pod/perlrun.pod