in reply to Perl 5 developer Fundamentals test

This maybe?


Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!

Replies are listed 'Best First'.
Re: Re: Perl 5 developer Fundamentals test
by John M. Dlugosz (Monsignor) on Oct 11, 2002 at 18:14 UTC
    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!