use List::Util qw(first); $links0_in_visited_urls = first { $_ eq $links[0] } @visited_urls
In reply to Re: Comparing the first element of an array with an array
by Zed_Lopez
in thread Comparing the first element of an array with an array
by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |