Red Hat Bugzilla – Bug 145215
garbage after split()
Last modified: 2007-11-30 17:07:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5)
Description of problem:
assigning off the end of the array after a split could leave garbage
in the inner elements.
@a = split /,/, "," x 50;
$x = \$a;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run above test code.
Actual Results: UNKNOWN
Expected Results: SCALAR
see also perl bug #28938
We apologize for the long delay in processing this bug report.
This bug is fixed with perl-5.8.0-90.2 , which should be in the next RHEL-3
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.