I do use 5.022 so I have a sufficiently modern version of Perl, though I admit I prefer the old notation choroba used, probably because I'm not very Object Oriented minded (though I admit yours is easier to read at a glance tybalt89). That said, I tried it, and it worked exactly the same, but it gave me the following warning along the way (not sure why).
Array found where operator expected at Web_Chat_IP_Match.pl line 141, +near "->@" (Missing operator before @?)
I've noticed that different people prefer different ways when doing things like this: &{}, %{}, @{}, ${} vs. &$, %$, @$, $$ vs. ->{} and ->[].
I've sensed rumblings of a past holy war, or at least a past split in the clergy that lead to the Perl programmer equivalents of Lutheranism or Protestantism in some of the things I've read about it.
In reply to Re^2: Syntax Question Related to "join" on a Complex Data Structure
by perldigious
in thread Syntax Question Related to "join" on a Complex Data Structure
by perldigious
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |