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.
Read a book on Perl
Written a book on Perl
Contributed to the Perl source code
Debugged someone else's script
Played Perl Golf
Used regular expressions to save the day
Used Perl for a certain amount of time (please specify)
Invested a certain amount of man-hours in learning Perl (please estimate)
Visited at least x Perl related events
(Co)maintain at least x active (up-river) CPAN modules
Forgotten you were not Larry Wall
One can never truly know Perl
Results (323 votes). Check out past polls.