Movatterモバイル変換


[0]ホーム

URL:


functions /printf
(source,CPAN)
You are viewing the version of this documentation from Perl 5.8.4.View the latest version
#printf FILEHANDLE FORMAT, LIST
#printf FORMAT, LIST

Equivalent toprint FILEHANDLE sprintf(FORMAT, LIST), except that$\ (the output record separator) is not appended. The first argument of the list will be interpreted as theprintf format. Seesprintf for an explanation of the format argument. Ifuse locale is in effect, the character used for the decimal point in formatted real numbers is affected by the LC_NUMERIC locale. Seeperllocale.

Don't fall into the trap of using aprintf when a simpleprint would do. Theprint is more efficient and less error prone.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp