in reply to array in scalar context..

Hello abhishekv, and welcome to the Monastery!

Another useful perldoc reference is perldata#Context.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,