13.07.2015 Views

Perl 语言编程 - Linux教程

Perl 语言编程 - Linux教程

Perl 语言编程 - Linux教程

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}sub PRINTF {my $self = shift;my $fmt = shift;push @$self, sprintf $fmt, @_;}sub READLINE {my $self = shift;pop @$self;}package main;my $m = "--MORE--\n";tie *REV, "ReversePrint";# 做 一 些 print 和 printf。print REV "The fox is now dead. $m";printf REV

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

Saved successfully!

Ooh no, something went wrong!