On Mon, 07 Mar 2005 08:36:56 -0500, Aaron Sherman <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-03-07 at 01:51 -0500, James Freeman wrote:
>
> [...] If you know more trivia
> than I do (I've yet to see that), then I would hire you on the spot.
Let's turn this into, "Let's try to stump Aaron!"
Here are a few tries from me:
1. What is the output of the following, and why?
package Foo;
our $_;
print grep {$_} -5..5;
2. Explain what's special about "0 but true" and why
that's never actually needed.
3. Why don't you get a warning from:
perl -we '"ignore useless use of a constant"'
4. As Larry points out in perlsyn, he has never felt the need
to use goto LABEL in Perl. (With good reason, as was first
proven in the 70's, any algorithm that can be written with
goto can be written, with the same efficiency, with named
loop control.) Why, then, did he include the feature?
5. Who made the syntax $somesub->() work, and why?
Cheers,
Ben
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm