K
key9
Hi all
sorry , beginner
suppose I have datafile
....
100-101-102-104-105-106-107-108
200-201-202-204-205-206-207-208
300-301-302-304-305-306-307-308
....
when I open file successful and read them into
@datas
and I using
foreach $data (@datas) {
my @each=();
# process
}
to process each element;
so how to translate $data into @each as numeric array? (100,101,102,103,104)
and how to merge them back to string?
what about data is
1,123123,23123,21,2,213,1231231,231
and
TFTFTFTFTFTFTFFTFTFTFTFTTTFTFTFTFTF
thank you very much!
your key9
sorry , beginner
suppose I have datafile
....
100-101-102-104-105-106-107-108
200-201-202-204-205-206-207-208
300-301-302-304-305-306-307-308
....
when I open file successful and read them into
@datas
and I using
foreach $data (@datas) {
my @each=();
# process
}
to process each element;
so how to translate $data into @each as numeric array? (100,101,102,103,104)
and how to merge them back to string?
what about data is
1,123123,23123,21,2,213,1231231,231
and
TFTFTFTFTFTFTFFTFTFTFTFTTTFTFTFTFTF
thank you very much!
your key9