Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
[newbie] chomp acting weird (or me not understanding how it works??)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Hendrik Maryns, post: 4781080"] A. Sinan Unur schreef: If I execute my testfile, I get the whole sentence (i.e. the first word of every line) as output, so I deduce from that it does iterate it several times?? I see no other loop in there which could cause this. Sorry, if you misunderstand me. I meant: a line, containing 'LET'. Of course, as I answered to Michele, you could use '.' as an end-of-sentence token, but others are possible too, that's why I use 'LET', which is there in any case. I did, I only took an excerpt, so as to not waste bandwidth on irrelevant text. Whatever, you can put me in your kikkfile now. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
[newbie] chomp acting weird (or me not understanding how it works??)
Top