programming-examples/perl/Array/Array index in action.pl
2019-11-15 12:59:38 +01:00

7 lines
111 B
Perl

#!c:/perl/bin
@ships=('B', 'T', 'H');
print "@ships[0] \n";
print "@ships[1] \n";
print "@ships[2] \n";