ANSWERS: 1
  • http://forums.devshed.com/perl-programming-6/chop-vs-chomp-142789.html chomp is safer. chop always removes the last character from a string chomp only removes the last character if it is a linefeed character. Been a while since I did any Perl, but the above rings a bell.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy