Score: 0 / 0 answered
Progress: 0 of 759 qs
time elap: 00:00
Question 1: What is the output of the following code?
sub my_sub { my $ref = shift; $$ref += 1; } my $var = 5; my_sub(\$var); print $var;
Subject: Subroutines and Functions in Perl Specialist (CIW-PS)
Difficulty: Medium