Skip Menu |

This queue is for tickets about the Scalar-Properties CPAN distribution.

Report information
The Basics
Id: 4312
Status: resolved
Priority: 0/
Queue: Scalar-Properties

People
Owner: Nobody in particular
Requestors: makamaka [...] users.sourceforge.jp
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: some outputs are incorrect
When Scalar::Properties is used, some outputs are incorrect. For example: use Scalar::Properties; my $test = 0; print "$test\n"; print "\$test\n"; print "\\$test\n"; print "\\\$test\n"; print "\\\\$test\n"; If there is no problem, outputs should be 0, $test, \0, \$test and \\0. But in actual outputs are 0, \$test, \\0, \\\$test and \\\\0. I thought this problem is in the module source's line 128. So I modified '$_[0]->{_value}' into '$_[0]->{_interp}' and deleted line 129 '$v =~ s/\\n/\n/gs;'. Then it works correctly.