Sample answers to Christmas Quiz

David Alban extasia at extasia.org
Thu Dec 18 18:58:17 GMT 2008


On Thu, Dec 18, 2008 at 10:17 AM, Chris Jack <chris_jack at msn.com> wrote:
> 4) How many different variable types are there in Perl? Be as sensibly voluminous in your answer as you are > able.
>
>
>  have been asked this in more interviews that I care to recall and generally interviewers seem to be looking > for 3 (scalar, list, and hash) but code, filehandle, and format are also high level types.

i would have said only two:  scalar and list, since arrays and hashes
are both lists.

> 11) Write a limeric about Perl. Bonus mark for making it perl parseable.
>
>
> <<_;
>
>
> There was a perl hack from Nantucket,
>
>
> Who wrote one-line scripts by the bucket,
>
>
> He tried to write verse,
>
>
> But twas longer and worse,
>
>
> Especially since he didn't know any swear words.

nice!

p.s.  damn.  i really thought you'd tell us when perl 6 was going to
be available.

-- 
Live in a world of your own, but always welcome visitors.


More information about the london.pm mailing list