The merged array function in Perl helps in merging two arrays into a single array. It eliminates all the commas residing in between them.  @arrayOne = ("Gaurav", "Karlos", "Ray", "is", "here");
@arrayTwo = ("He", "wrote", "this");
# merge operation performed on both the above given arrays
@merged = (@arrayOne, @arrayTwo);
print "@merged \
";