note
karlgoethebier
<p>From the friendly documentation:</p>
<blockquote><i>"The strict pragma disables certain Perl expressions that could behave unexpectedly or are difficult to debug, turning them into errors. The effect of this pragma is limited to the current file or scope block.
If no import list is supplied, all possible restrictions are assumed. (This is the safest mode to operate in, but is sometimes too strict for casual programming.) Currently, there are three possible things to be strict about: "subs", "vars", and "refs"."</i></blockquote>
<blockquote><i>"The warnings pragma gives control over which warnings are enabled in which parts of a Perl program. It's a more flexible alternative for both the command line flag -w and the equivalent Perl variable, $^W .
This pragma works just like the strict pragma. This means that the scope of the warning pragma is limited to the enclosing block. It also means that the pragma setting will not leak across files (via use, require or do). This allows authors to independently define the degree of warning checks that will be applied to their module.
By default, optional warnings are disabled, so any legacy code that doesn't attempt to control the warnings will work unchanged."</i></blockquote>
<p>See [doc://strict] and [doc://warnings] and <a href="https://stackoverflow.com/questions/8023959/why-use-strict-and-warnings">Why use strict and warnings?</a>.</p>
<p>Regards, Karl</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-1001958">
<p>«The Crux of the Biscuit is the Apostrophe»</p>
<p><c>perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'</c>[href://?node_id=1001958#env|Help]</p>
</div></div>
1209716
1209716