You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Jim Tappe <jt...@gmail.com> on 2017/05/14 05:53:23 UTC

Re: use strict, use warnings

Hi,

There are no issues but is it a best practice to use "use strict" ?

This page seems to suggest global variables are not issue.

"Global variables (everything not declared with *my* or *local*) will be
undef'ed at the end of each request, so you don't need to worry about any
old variables laying around and causing suspicious results. "

https://perl.apache.org/embperl/pod/doc/Embperl.-page-4-.htm

Thanks,
Jim


On Fri, Mar 10, 2017 at 1:54 PM, ruben <ru...@mrbrklyn.com> wrote:

> no issues, it only affects logs
>
>
>
> On 10/03/17 12:20, Jim Tappe wrote:
>
>> Hello all,
>>
>> Is there any issue with using use strict and use warnings in template
>> pages ?
>>
>> Is it recommended?
>>
>> Thanks,
>> Jim
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>