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


in reply to (ichi) re x 2: Simple file to array
in thread Simple file to array

We probably want to clean up the array, which we can do quickly with for( @email_addys ){ chomp }; at some point after the assignment.

`perldoc -f chomp` tells us an easier way: chomp @email_addys.

  • Comment on Re: (ichi) re x 2: Simple file to array

Replies are listed 'Best First'.
(ichi) re x 4: Simple file to array
by ichimunki (Priest) on Jul 08, 2002 at 19:52 UTC
    Yes, that is much nicer, isn't it? :)