Sunday, 15 September 2013

Read file to one string and separate it in perl -


Then I have a file that looks like:

  name, surname, number name 2  

I have to read it in a string in Perl, and I want to see it:

 < Code> "name, surname, number, name 2, alias 2, number 2, name 3, surname 3, number 3"  

but I do not know how to do this: I'm new to Perl, I just know this, let me open the file to do this Required:

  open ($ list, "& lt;", $ file)  

  use my $ list = do {autodie; Open your $ FH, click ' 

No comments:

Post a Comment