in reply to Using || operator with arrays
As Tanktalus, Errto indicated go through perlop in manpage, it helps you lot.
zero, undef are considered as false value.
If you assign 0 to first array,the output looks like this,
@array = (0); @array1 = (2..10); print "@array" || "@array1";
output
2 3 4 5 6 7 8 9 10Prasad
|
|---|