20 likes | 127 Views
Challenge your Perl skills by predicting and testing the output of various code snippets involving arrays and operations like reverse, unshift, and pop. Test your understanding!
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;