in reply to Re: Perl 5 developer Fundamentals test
in thread Perl 5 developer Fundamentals test

I hope not: "Divides a string into a series of individusl words", "white space" as two words, ... someone should proof read the test. It gives a bad impression of the intelligence of the one doing the testing.

Also, the first two questions:

1: The chop function 
 Removes the last character from a string 
 Divides a string into a series of individusl words 
 Removes any white space on then end of a string 

2: The chop function ... 
 Removes the last character from the string in the parameter. 
 Removes the last character from the string in the parameter if, and only if, it is a new line character. 
 Removes leading and trailing white space characters from the string in the parameter. 
 Removes trailing white space, including new line characters, from the string in the parameter
ask the same question with different multiple-choice answers; and there is only one item in common between the two lists!
  • Comment on Re: Re: Perl 5 developer Fundamentals test