hints/openbsd.sh tweaks.
[p5sagit/p5-mst-13.2.git] / pod / perlfaq4.pod
index 714bc08..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(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