perl array print code example
Example: perl print array
# Perl
# syntax
print "@<array-name>";
# example
my @AgesArray = (25, 30, 40);
print "@AgesArray"; # OUTPUT: 25 30 40
# Perl
# syntax
print "@<array-name>";
# example
my @AgesArray = (25, 30, 40);
print "@AgesArray"; # OUTPUT: 25 30 40