Showing posts with label Find length of an array in perl. Show all posts
Showing posts with label Find length of an array in perl. Show all posts

Thursday, October 20, 2022

Find length of an array in perl

 

@fruits = ("Orange", "Grapefruit", "Lemon");#initializing associative array
print "Length of fruits array is " . scalar(@fruits);