diff options
author | Abhijit Menon-Sen <ams@wiw.org> | 2002-03-04 08:16:06 +0000 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2002-03-04 08:16:06 +0000 |
commit | 99c4c5e8b3aed6f7ee0c58ddf8ec0fe3dfc7e3a6 (patch) | |
tree | 86ea21429f53dac37479d1cea943cbe09ee9b57a /lib | |
parent | b92795fe87d7d20aecb433c6b82c9fbf9a70017c (diff) | |
download | perl-99c4c5e8b3aed6f7ee0c58ddf8ec0fe3dfc7e3a6.tar.gz |
Fix File::Path docs as suggested by Ronald Kimball.
p4raw-id: //depot/perl@14984
Diffstat (limited to 'lib')
-rw-r--r-- | lib/File/Path.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/File/Path.pm b/lib/File/Path.pm index ffc077fa6a..46af24fdb2 100644 --- a/lib/File/Path.pm +++ b/lib/File/Path.pm @@ -41,8 +41,8 @@ It returns a list of all directories (including intermediates, determined using the Unix '/' separator) created. If a system error prevents a directory from being created, then the -C<mkpath> function throws a fatal error with Perl's C<croak> mechanism. -This error can be trapped with an C<eval> block: +C<mkpath> function throws a fatal error with C<Carp::croak>. This error +can be trapped with an C<eval> block: eval { mkpath($dir) }; if ($@) { |