Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Home
Perl
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all...
0
votes
asked
Jul 26, 2023
in
Perl
by
rahuljain1
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
perl-arraycontent
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 26, 2023
by
rahuljain1
@arraycontent=('ab', 'cd', 'ef', 'gh')
foreach (@arraycontent)
{
print "$_\n";
}
...