In Perl, ‘->’ symbol is an infix dereference operator. if the right hand side is an array subscript, hash key or a subroutine, then the left hand side must be a reference.
Perl
1
2
3
4
5
@array=qw/abcde/;# array
print"n",$array->[0];# it is wrong
print"n",$array[0];#it is correct , @array is an array
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website