Hi sir_jeff,
as it's not a Strict script - just example code
strict is automatically enabled when you say use v5.12; or higher, when you use Modern::Perl, Moose, Moo, and more. It's also considered a best practice in general (e.g. Basic debugging checklist and Use strict and warnings). I think most code examples on PerlMonks are written to run under strict, even if they don't explicitly say so.
Regards,
-- Hauke D
In reply to Re^6: Comparison between a string and an array
by haukex
in thread Comparison between a string and an array
by Eth443
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |