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

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???

  • Comment on Re^8: Minimisation of codes (if grep {})

Replies are listed 'Best First'.
Re^9: Minimisation of codes (if grep {})
by MidLifeXis (Monsignor) on Oct 01, 2015 at 14:09 UTC

    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