While examining this file for the purpose of writing tests, I noticed
that it uses Perl's special variable $/ in 6 instances where a newline
would suffice.

[parrot] 504 $ grep -n '$/' config/auto/attributes.pm 
54:    print $/ if $verbose;
67:    $verbose and print "trying attribute '$attr'$/";
83:    $verbose and print "  ", $command_line, $/;
88:    $verbose and print "  exit code: $exit_code$/";
95:    $verbose and print "  output: $output$/";
100:        $verbose and print "  ccflags: $ccflags$/";

Why?

i.e., Why we do we need this here when "\n" suffices everywhere else in
the Parrot distribution?

kid51

Reply via email to