summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlfaq4.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index d210e28063..2c992f20d5 100644
--- a/pod/perlfaq4.pod
+++ b/pod/perlfaq4.pod
@@ -74,7 +74,7 @@ Note the mistake in the first line was specifying the decimal literal
644, rather than the intended octal literal 0644. The problem can
be seen with:
- printf("%o",644); # prints 01204
+ printf("%#o",644); # prints 01204
Surely you had not intended C<chmod(01204, $file);> - did you? If you
want to use numeric literals as arguments to chmod() et al. then please