Answers for "perl print array"

1

perl print array

# Perl

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

# example
my @AgesArray = (25, 30, 40);
print "@AgesArray"; # OUTPUT: 25 30 40
Posted by: Guest on April-23-2020

Browse Popular Code Answers by Language