http://www.perlmonks.org?node_id=11108634


in reply to Re: Strict and warnings: which comes first?
in thread Strict and warnings: which comes first?

use 5.020; use strict;

use 5.020 implies use strict (since v5.12) and use feature (not relevant here), even without loading strict.pm or feature.pm - see use.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: Strict and warnings: which comes first?
by cavac (Parson) on Nov 13, 2019 at 17:09 UTC

    I know. But i decided to have "use strict" at the top of every perl file anyway. Just to make sure everyone reading it automatically knows it's in strict mode.

    perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'