Hi, newbie to perl here. please be gentle.
how can I get a comma delimited line of text from a scalar into an array.
example text: bnr,KIL,vi,dd,,,,,,dse,sdg,,,,,,
I actually want to use the second field, in this case "KIL". I thought if I could get it into an array I could just index it.
how can I get a comma delimited line of text from a scalar into an array.
example text: bnr,KIL,vi,dd,,,,,,dse,sdg,,,,,,
I actually want to use the second field, in this case "KIL". I thought if I could get it into an array I could just index it.