in reply to array in scalar context..
Hello abhishekv, and welcome to the Monastery!
Another useful perldoc reference is perldata#Context.
Hope that helps,