Construct a string array and output its first element : Array Definition « Array « Perl
- Perl
- Array
- Array Definition
Construct a string array and output its first element
@array = ("one", "two", "three");
print @array;
Related examples in the same category