I have two arrays, they both include the names of animals.
How can I remove each element in @exclude from @animals? I want @animals to consist of "cat, dog, elephant" after the other elements are removed.
Thanks!
--
Chris
RHCE, SCSA, AIX5L, LPIC, CNE, CCNA, MCSE
Code:
@animals = qw/cat dog beaver frog elephant/;
@exclude = qw/beaver frog/;
Thanks!
--
Chris
RHCE, SCSA, AIX5L, LPIC, CNE, CCNA, MCSE