in reply to Re^5: Comparison between a string and an array
in thread Comparison between a string and an array
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
|
|---|