In perl.git, the branch smoke-me/rjbs/cant-run-dir has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c87d4b1c9b29816c62be0e006ff53cc94b34247f?hp=0000000000000000000000000000000000000000>
at c87d4b1c9b29816c62be0e006ff53cc94b34247f (commit)
- Log -----------------------------------------------------------------
commit c87d4b1c9b29816c62be0e006ff53cc94b34247f
Author: Ricardo Signes <[email protected]>
Date: Sat Jan 12 07:12:34 2013 -0500
expect a different error for `perl dir` on Win32
We've known that this is how Win32 behaves, as it was documented in
the ticket for which this is a fix. I don't think it's worth the
bother of ensuring we get EISDIR, as long as we don't just exit
silently!
M t/run/switches.t
commit c48050797646a82f665614a3e03140d5214d1c66
Author: Ricardo Signes <[email protected]>
Date: Mon Jan 7 15:00:08 2013 -0500
perldelta for #61362, croak on `perl directory`
M pod/perldelta.pod
commit 54421377a6c5de27193086d513e22090a5102ca5
Author: James E Keenan <[email protected]>
Date: Sat Jan 5 22:25:29 2013 -0500
Add a test to detect error when attempting to syntax-check a directory.
For: RT #61362
M t/run/switches.t
commit 52669bad4ab3a02f7d42fbdd4cac98e83768764e
Author: Ricardo Signes <[email protected]>
Date: Sat Jan 5 20:30:48 2013 -0500
croak on an attempt to run a directory as a script
How many times have I meant to run "perl -I lib myprog" but instead
run "perl lib myprog" only to exit 0 because that's what perl does
when you try to run a directory as a script (at least on unix)? Many.
perl should croak when instructed to execute a directory.
[perl #61362] suggests it already does so on Win32. Now it does it
everywhere. Tests not yet written.
M perl.c
-----------------------------------------------------------------------
--
Perl5 Master Repository