Paging for Dr Octothorpe.
Jarkko Hietaniemi [Fri, 13 Jul 2001 00:05:53 +0000 (00:05 +0000)]
p4raw-id: //depot/perl@11341

pod/perlfaq4.pod

index d210e28..2c992f2 100644 (file)
@@ -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