in reply to Re: text to arrayin thread text to array
open (MYFILE, 'test1234.txt');
@myNames= split(/\t/, $_);
print "@myNames \n";
print "@names12 \n";
this is what i did , so if you can point out the mistakes , it will help
Your mistake is that you do not tell us what you expect, and how your program fails to work for you.
Also, please show 10 lines of relevant input, and the corresponding output, together with what the output should be.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (398 votes). Check out past polls.