No reason I can see, other than golf.

On Oct 22, 2007, at 9:01 PM, James Keenan via RT wrote:

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



--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to