summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-13 00:05:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-13 00:05:53 +0000
commit434f716607831e7b291d6f6bb7fb9611e6d0f7ca (patch)
tree1e224ddf2a5b4619669d500c780bff1407b68fd7
parent8f1dd898d99ea2e170f92b303300f2a421db5989 (diff)
downloadperl-434f716607831e7b291d6f6bb7fb9611e6d0f7ca.tar.gz
Paging for Dr Octothorpe.
p4raw-id: //depot/perl@11341
-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