programming-examples/perl/Array/Array index in action.pl

7 lines
111 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!c:/perl/bin
@ships=('B', 'T', 'H');
print "@ships[0] \n";
print "@ships[1] \n";
print "@ships[2] \n";