develooper Front page | perl.perl5.porters | Postings from January 2005

[PATCH] mkdir should default to $_

Thread Next
Rafael Garcia-Suarez
January 7, 2005 08:31
[PATCH] mkdir should default to $_
Message ID:
As Steve Lanning was observing on IRC, rmdir defaults to $_, but
rmdir doesn't.

A real patch would be along the lines of : (but this one seems to
make mkdir non-overridable)

---   (revision 4211)
+++   (working copy)
@@ -816,7 +816,7 @@
 link           link                    ck_fun          isT@    S S
 symlink                symlink                 ck_fun          isT@    S S
 readlink       readlink                ck_fun          stu%    S?
-mkdir          mkdir                   ck_fun          isT@    S S?
+mkdir          mkdir                   ck_fun          isTu@   S? S?
 rmdir          rmdir                   ck_fun          isTu%   S?
 # Directory calls.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About