On Mon, Jan 24, 2005 at 08:37:41AM -0600, Bryan Baldus wrote:
> I generally 'use warnings' or use the -w flag in the modules and scripts
> I've been writing. I didn't notice it was missing. I need to add strict and
> warnings to CodeData, as well. In modules/package files, is it practice to
> leave out the shebang (#!perl) line, since the file is not generally
> executed directly? If so, is that the reason for 'use warnings' vs. -w? 

Yeah. 

> I use BBEdit Lite, which has a good global search/replace function. In the
> future, I'll try to remember to convert the indentation tabs to 4 spaces per
> tab. Are non-indentation tabs ok? In MARC::Lint::CodeData, I used split on
> "\t" to split the codes into a hash. Since some codes have or need spaces,
> splitting on "\s" would probably not work as well.

Non-indentation tabs should be fine. There shouldn't be any need to remember 
to search/replace, try Edit -> Text Options -> and check Auto-Expand
Tabs ... and you should be good to go.

I guess for converting the existing tabs search/replace will come in
handy though :-)

//Ed

Reply via email to