Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Perl Critic and a formatting question.

by B-Man (Acolyte)
on Apr 30, 2013 at 17:38 UTC ( #1031435=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl Critic and a formatting question.
in thread Perl Critic and a formatting question.

Oh. I see what the complaint is about and why it disappears! Take a look at these two lines of code:

our @EXPORT_OK = qw/&greet/; our $VERSION = '0.1';

The assignment operators (=) don't line up. When perltidy adds the spaces, it's creating whitespace that aligns those operators.

our @EXPORT_OK = qw/&greet/; our $VERSION = '0.1';

Now the the code is tidy and the assignment operators are aligned, perlcritic stops complaining.


Comment on Re^2: Perl Critic and a formatting question.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031435]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-12-27 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls