如何使用__DATA__两次?
#!/usr/local/bin/perl use warnings; use 5.012; while ( <DATA> ) { print; } while ( <DATA> ) { chomp if $. == 1; print scalar reverse; print "\n" if eof; }
__DATA__ one two three four five six