Jerusalem Perl Mongers Contest

From JmPm

(Difference between revisions)
Jump to: navigation, search
Rina (Talk | contribs)
(New page: '''1. wantarray''' a returns the value of an array, comma separated b returns true if subroutine is looking for a list c creates a new array d creates an array from a list '''2. who...)
Newer edit →

Revision as of 08:23, 12 July 2007

1. wantarray

a returns the value of an array, comma separated
b returns true if subroutine is looking for a list
c creates a new array
d creates an array from a list


2. who wrote CGI.pm

a Max Stein
b Abraham Stein
c Lincoln Stein
d Abraham Lincoln


3. what does this print out

$x=’y’;
$y=’x’;
$$y=’z’;
print $x;


a    (nothing)
b x
c y
d z

4. what does this code do

a changes a Mac file to a Windows file
b prints Jerusalem Perl Monger
c prints Just Another Perl Hacker
d doesn’t compile
Personal tools