in reply to Re: Commonly accepted style guide?
in thread Commonly accepted style guide?
Using 'no strict' without a comment is something you pay attention to, and I presume you flag it negatively? I disagree. I consider commenting the obvious as a sign of an immature or insecure coder. Commenting the obvious includes the classical:
but doesn't stop with:i++; /* Increment i */
or{ no strict 'refs'; *{$caller} = &{$something}; }
my @list = do {no warnings; qw /foo #bar baz,/};
Using backticks in void context. Or any other construct that returns a list, e.g., map
Nothing returns a list in void context. Lists are only returned in list context. And programmers who think that 'map' in void context creates a list internally are showing signs of not keeping up with modern Perl development. ;-).
|
|---|