in reply to Re: Split Not Working Correctly?
in thread Split Not Working Correctly?

Thanks, toolic. I did use print to see what was coming out (though not with the syntax you used here, which didn't work for me). @subjects contains everything it should--all the subject headings. It's just that some of the subject headings are not getting assigned the class.

I am reading the documentation you have linked here. Thanks.

Replies are listed 'Best First'.
Re^3: Split Not Working Correctly?
by AnomalousMonk (Archbishop) on Jan 08, 2014 at 17:03 UTC
    @subjects contains everything it should ... It's just that some of the subject headings are not getting assigned the class.

    The strings in the  @subjects array are correct; OK so far. But I don't understand (and others apparently share my confusion) how a string can be "assigned a class".