20 likes | 127 Views
Perl Puzzles. What is the output of each of these code snippets? Think them through first, then test them out!. Arrays. @A = (98..102); print 0 + reverse @A; @B = qw (a b c); unshift (@B, pop @B); print @B; print @A + @B;.
E N D
Perl Puzzles What is the output of each of these code snippets? Think them through first, then test them out!
Arrays @A = (98..102); print 0 + reverse @A; @B = qw(a b c); unshift (@B, pop @B); print @B; print @A + @B;