In Perl it is an infix dereference operator. The if the rhs is an array subscript, or a hash key, or a subroutine, then the lhs must be a reference, can also be used as method invocation: invocant->method
$arr= [ qw/ prabhath vamsi eswar sandhya God/]; #This is an Array Reference print "n",$arr->[0]; #Right print "n",$arr[0]; #Wrong as $arr is an array reference not an array
@arr = qw/ prabhath vamsi eswar sandhya God/; #This is an Array print "n",$arr->[0]; #Wrong print "n",$arr[0]; #Right as @arr is an array
What does this symbol mean '->'