[ale] OT: interpolation and anchors in perl regex

Geoffrey Myers lists at serioustechnology.com
Sun Oct 19 21:10:34 EDT 2008


On Oct 19, 2008, at 10:05 AM, Jerald Sheets wrote:

> One could argue that you should *always* develop with warnings and  
> strict on.  You can set those up this way:
>
> use warnings;
> use strict;
>
>
> or by using the preprocessor directive:
>
> #!/usr/bin/perl -w -e
>
> use strict;

I actually leave warnings and strict in my production code.

There's also 'use diagnostics;'  which will give you more verbose info  
then 'use warnings;'  You definitely don't want to leave 'use  
diagnostics;' in our code though it definitely impacts the speed of  
the code.

--
later Geof


More information about the Ale mailing list