in reply to Re^6: Minimisation of codes (if grep {})
in thread Minimisation of codes (if grep {})

You're trying to find an element in a list. But, I can't find the element "any" in your function list on line 3. The function wasn't imported.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^7: Minimisation of codes (if grep {})

Replies are listed 'Best First'.
Re^8: Minimisation of codes (if grep {})
by ravi45722 (Pilgrim) on Oct 01, 2015 at 12:28 UTC

    http://www.perlmonks.org/?node_id=1143505 mentioned to use List::Util . I download & install it. As per the manual said I tried upto there. What I have to do if i want to include "any" in that function???

      See the documentation for use. It explains what the qw(...) after the use List::Util... does in your code. Instead of cargo culting, I would recommend learning how to understand the code, where to look for things you don't understand, etc. Spoon feeding will only last so long.

      --MidLifeXis