http://www.perlmonks.org?node_id=1006701


in reply to Re: split a line by control ^D character
in thread split a line by control ^D character

@ eyepopslikeamosquito

Thanks so much!! It is working fine now.

  • Comment on Re^2: split a line by control ^D character

Replies are listed 'Best First'.
Re^3: split a line by control ^D character
by eyepopslikeamosquito (Archbishop) on Dec 02, 2012 at 11:17 UTC

    You're welcome. One more thing I noticed is that you will probably want to add a line:

    chomp @arr;
    right after my @arr = <$FILE>; to avoid the last field on each line containing a newline.