The ~~ was intentional. It's the smart match operator. == won't cut it.
Smart match was introduced in Perl 5.9.3, about 6 years ago.
In reply to Re^3: Failed array attemp
by tobyink
in thread Failed array attemp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |