
gerble1000
User
Oct 11, 2012, 6:47 AM
Views: 991
|
|
Re: [BillKSmith] importing txt file to array problem
|
|
|
thanx for that but i realised that the arrays were working but it had carrage returns on the end. i have found a code that does remove the carrage returns but i am unsure how to do a foreach loop here is what i have for the for loop
foreach (@details){ $details[$_] =~ s/\r|\n//g; } what am i doing wrong here
(This post was edited by gerble1000 on Oct 11, 2012, 7:44 AM)
|