13.07.2015 Views

Perl 语言编程 - Linux教程

Perl 语言编程 - Linux教程

Perl 语言编程 - Linux教程

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ENDprint "Wow, I just stored `$^A' in the accumulator!\n";或 者 创 建 一 个 swrite 子 过 程 , 它 对 于 write 的 作 用 就 像 sprintf 对 printf 的 作 用 , 可以 象 下 边 的 代 码 一 样 使 用 :use Carp;sub swrite {croak "usage: swrite PICTURE ARGS" unless @_;my $format = shift;$^A = "";formline($format, @_);return $^A;}$string = swrite(formline("^" . ("

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!