http://www.perlmonks.org?node_id=1004480

hoppfrosch has asked for the wisdom of the Perl Monks concerning the following question:

Hi fellows,
using perltidy I got the fillowing output I cannot interpret/understand:
47:operator in print statement not recommended
Line 47 contains the following code:
44: use version; our $VERSION = qv('1.2.14'); 45: 46: use FindBin qw($Bin); 47: use lib $Bin. '/../..'; 48: 49: use Carp;
Now my questions: Thanks in advance for your insights

Replies are listed 'Best First'.
Re: Perltidy: Understanding output - or suppress certain messages
by frozenwithjoy (Priest) on Nov 19, 2012 at 08:42 UTC

    My guess is that it is complaining about the concatenation operator. What happens if you try the following?

    use lib "$Bin/../..";
      Yeah - you're right. Perltidy is not complaining if concatenation is replaced in the way you suggested ...