use strict; use warnings; my $file=register.txt; #read the data from file my $data= slurp($file); #print the string data print $data; string $data = FILE.ReadAllText(path); $data = data.Replace(" ",","); file.WriteAllText(path,data); #we will just print the data print "$data\n"; close($data);
arunav 1236 askjasi 25986 sdhfuis 26897 krotri 6598548
arunav,1236 askjasi,25986 sdhfuis,26897 krotri ,6598548
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)