NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
wow (Score:1)
rjbs
I found two without answers (Score:1)
$p = [ { a => 1, b => 2, c => 3 }, “ant”, “bat”, “cat” ];Which of the following expression gives the value cat ?
$p[3]
$p->{c}
$p->[4]
$p->{bat}
$p->[3] would be correct, and
%x = qw(C Ritchie Perl wall C++ Stroustrup); print @x{C, C++}Error : should use % instead of @ in print function
Displays Stroustrup
Displays Ritchie
Displays Ritchie Stroustrup
This doesn't compile, but of course, they didn't use " in a bunc
You forgot pseudo-hashes (Score:1)
$p->{c}is correct.Re:I found two without answers (Score:2)
I think you're forgetting about pseudo-hashes (but, of course, everyone should be forgetting about pseudo-hashes!)
Re:I found two without answers (Score:1)
Re:I found two without answers (Score:1)
The great thing about multitasking is that several things can go wrong at once.
Re:I found two without answers (Score:2)
I presume they've updated the quiz by now, but I haven't had time to go back to check.
Very broken (Score:1)
1) None of the above. The answer is "\n", unless strict is on.
6) None of the above. The answer is $p->[3] or $$p[3].
11) Both b and c are right answers
14) None of the above. The answer is "\n" because "perl\n" is not equal to "perl"
15) Syntax error: Can't modify constant item in postincrement (++) at -e line 1, near "C++"
Re:Very broken (Score:2)
Re:Very broken (Score:2)
They randomize the question order every time you take it.
Re:Very broken (Score:2)
Consider the source (Score:2)
The quiz sucks because the author sucks because only somo
Camel alert (Score:1)
job offer! (Score:1)
It's an interesting way to hire people, but maybe saying upfront that the job's in India would be smart ;-)
Email in full: