A Perl Question# Unix - 噫吁兮,危乎高哉
c*o
1 楼
Suppose I have text file like this:
sdfsdfsfsdf
sfdssdfdsfs
dddddd dddd
sdfsdfsasda
adsdddddddd
aa12345aaaa
aaaaaaaabbb
dddffffffff
If I want to put, say, the first 3 letters in one variable, next two in
another variable, next six in the third variable, of course, for each line,
how can I do that in perl?
Thanks,
sdfsdfsfsdf
sfdssdfdsfs
dddddd dddd
sdfsdfsasda
adsdddddddd
aa12345aaaa
aaaaaaaabbb
dddffffffff
If I want to put, say, the first 3 letters in one variable, next two in
another variable, next six in the third variable, of course, for each line,
how can I do that in perl?
Thanks,