in reply to Re: How to remove all new line ?
in thread How to remove all new line ?

Which, incidentally can be done in one step:

chomp(my @all_data = <DATA>);
--
If you can't understand the incipit, then please check the IPB Campaign.

Replies are listed 'Best First'.
Re^3: How to remove all new line ?
by CountZero (Bishop) on Aug 19, 2008 at 15:56 UTC
    TIMTOWTDI++

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James