in reply to appending multiple values in an array

Help me help you by showing a running example of your code which demonstrates the problem. Are you pushing values into your new array?
  • Comment on Re: appending multiple values in an array

Replies are listed 'Best First'.
Re^2: appending multiple values in an array
by raghu_shekar (Novice) on Mar 18, 2009 at 15:02 UTC
    here s my code: foreach $file(@cad_err_list) { chomp($file); $err_loan_id1 = `grep 'DataDictionary' $file`; @err_loan_id2 = split(/<pciOFACViolation>/, $err_loan_id1); $reqd_1 = $err_loan_id2[0]; @err_loan_id3 = split(/\s/,$reqd_1); $reqd_2 = $err_loan_id32; @err_loan_id = split(/>/,$reqd_2); }