in reply to Re: Problem parsing and printing data from file
in thread Problem parsing and printing data from file

hey, that is the solution :)

thanks a lot..
(and for the code style tips) :)

i had ours of headache on this one, but to go deeper in on this problem(so i don't make this error in the future):
what exactly is the difference between a \n and \r?
never really understood that

tnx
  • Comment on Re: Re: Problem parsing and printing data from file

Replies are listed 'Best First'.
Re: Re: Re: Problem parsing and printing data from file
by Anonymous Monk on May 06, 2004 at 15:02 UTC
    oh.. and why is tr/\n//d better that s/\n//g ?

    :)
      Because that's what tr/// is for: replacing or removing specific characters, without concern for context. There's also a trivial amount of improved efficiency, but it's mostly about using the "right tool for the right job".

      The PerlMonk tr/// Advocate