in reply to Suppressing display of text in the screen

A note unrelated to your question: In generall don't use chop, use chomp instead.

chop removes the last character without regard to what it is. chomp removes the input record serperator string ($/) from the end of teh string - whatever that may be set to. Generally it is set to the newline character \n (which is most likely a line feed, or on Mac a carriage return character).


DWIM is Perl's answer to Gödel
  • Comment on Re: Suppressing display of text in the screen