in reply to difference between or and || operators

|| has a higher precedence than or. See perlop.