projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ce146
)
cut-n-paste error noticed by mjd.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 12 Jul 2001 23:53:44 +0000
(23:53 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 12 Jul 2001 23:53:44 +0000
(23:53 +0000)
p4raw-id: //depot/perl@11340
pod/perlfaq4.pod
patch
|
blob
|
history
diff --git
a/pod/perlfaq4.pod
b/pod/perlfaq4.pod
index
714bc08
..
d210e28
100644
(file)
--- 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(
0
"%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