发布网友 发布时间:2024-10-24 08:16
我来回答
共1个回答
热心网友 时间:2024-10-25 16:59
#!perl -wuse strict;# AUTHOR: niejieqiangopen my $fh, "<", "T.txt";my $num=1;while (<$fh>) { open my $fh2, ">", $num.".txt"; print $fh2 $_; $num++; close $fh2;}close $fh;