Subject: | 2.04: Minor doc typo |
Date: | Mon, 5 May 2008 11:49:47 +1000 |
To: | bug-File-Path [...] rt.cpan.org |
From: | Brendan O'Dea <bod [...] debian.org> |
--- Path.pm.orig 2008-05-05 11:14:41.000000000 +1000
+++ Path.pm 2008-05-05 11:35:44.000000000 +1000
@@ -624,7 +624,7 @@
file, and the value is the error message (usually the contents of
C<$!>). An example usage looks like:
- rmpath( 'foo/bar', 'bar/rat', {error => \my $err} );
+ rmtree( 'foo/bar', 'bar/rat', {error => \my $err} );
for my $diag (@$err) {
my ($file, $message) = each %$diag;
print "problem unlinking $file: $message\n";
@@ -636,7 +636,7 @@
tree that does not exist), the diagnostic key will be empty, only
the value will be set:
- rmpath( '/no/such/path', {error => \my $err} );
+ rmtree( '/no/such/path', {error => \my $err} );
for my $diag (@$err) {
my ($file, $message) = each %$diag;
if ($file eq '') {