Perl Print An Array

[Solved] Perl Print An Array | Perl - Code Explorer | yomemimo.com
Question : perl print an array

Answered by : charlesalexandre-roy

# Basic syntax:
print "@your_array\n";

Source : https://alvinalexander.com/perl/edu/qanda/plqa00007.shtml | Last Update : Thu, 10 Mar 22

Question : perl print array

Answered by : jacques-kirstein

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

Source : | Last Update : Thu, 30 Apr 20

Answers related to perl print an array

Code Explorer Popular Question For Perl