Check out example codes for "perl print array". It will help you in understanding the concepts better.

Code Example 1

# Perl

# syntax
print "@<array-name>";

# example
my @AgesArray = (25, 30, 40);
print "@AgesArray"; # OUTPUT: 25 30 40

Learn ReactJs, React Native from akashmittal.com