John Doe wrote:

Am Donnerstag, 7. April 2005 14.54 schrieb Vladimir D Belousov:


Hallo, all!



Hi


Wim has already presented the solution for your problem;

[...]



I do this:
$#array = $N+100;
print_array($array[$N]);



this should be

print $array->[$N]


I see, but $array here is undefined. It doen't exists.
I have @array - the array, and not the array reference.

And I see the error in my example :)
I have to use the reference to the array element, but I use the value of array :)
But it' doesn't works too.




Is ARRAY reference in perl not the reference to the first element of ARRAY



Not in the same sense as in C.


Unfortunately.
It would be very conveniently.

[...]

joe






Reply via email to