Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: RFC: Self Assessment Perl

by davido (Cardinal)
on Sep 06, 2018 at 17:03 UTC ( [id://1221890]=note: print w/replies, xml ) Need Help??


in reply to RFC: Self Assessment Perl

Definedness: Explain the difference between false and undefined. Show how to test for each.

Hashes: Show how to test for the existence of a hash key.

Autovivification: Show how to fetch the value in $foo->{'bar'}->{'baz'} without causing $foo->{'bar'} to spring into existence if it didn't exist to begin with.

Sorting: Show how to sort "foo123", "bar123", "baz345", "baz123" numerically first, alphabetically second.

List manipulation: Show how to find how many times the number 5 exists in map {int(rand(6)+1)} 1..20.


Dave

Replies are listed 'Best First'.
Re^2: RFC: Self Assessment Perl
by LanX (Saint) on Sep 06, 2018 at 17:23 UTC
    Nice :)

    Interview questions?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1221890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found