Hi all
This is probably a stupid question with an easy answer...
Is there any way to get the name of an array and use in a string?
say i had the array:
@dogs = ("rover","larry","Bruce");
would it be possible to take the name of the array (dogs) and use it in another variable?
I tried $arrayname = @array but that just gives the num of elements..!
thanks
andy
This is probably a stupid question with an easy answer...
Is there any way to get the name of an array and use in a string?
say i had the array:
@dogs = ("rover","larry","Bruce");
would it be possible to take the name of the array (dogs) and use it in another variable?
I tried $arrayname = @array but that just gives the num of elements..!
thanks
andy