Hi,
Probably a very simple question for the experienced Perl programmers....
Im new to the language of Perl and at the moment im studying the function Chomp!
for some strange reason i cant figure this out? Chomp deletes \n off a string but i dont get it!
Can someone please show me a simple example and an outcome? and explain to me the purpose of this and why it's used?
many thanks
Probably a very simple question for the experienced Perl programmers....
Im new to the language of Perl and at the moment im studying the function Chomp!
for some strange reason i cant figure this out? Chomp deletes \n off a string but i dont get it!
Can someone please show me a simple example and an outcome? and explain to me the purpose of this and why it's used?
many thanks
Comment