1#
2# Copyright(C) 1998
3# All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4#
5# Permission from use, copy, modify, and distribute this
6# software and its documentation for EDUCATIONAL purposes
7# and without fee is hereby granted provided that this
8# copyright notice appears in all copies.
9#
10# date : January 1, 1998.
11# authorĀ : Salih Yurttas.
12#
13# p_02.pl
14#
15
16
17my $a_list = [0, 1, 2, 4, 8, 16, 32, 64];
18
19print "a_list at \$a_listĀ : ", $a_list, "\n";
20
21print "$a_list->[4]\n";
22
23print $$a_list[4], "\n";
24
25print ${$a_list}[4], "\n";
26
27print "@{$a_list}", "\n";