|Keep It Simple, Stupid|
What does [=;] meanby Scotmonk (Acolyte)
|on Nov 27, 2019 at 22:04 UTC||Need Help??|
Scotmonk has asked for the wisdom of the Perl Monks concerning the following question:
As many of you good monks know, I am learning PERL as a beginner.
I am learning the split function just now and have found code on Progeek that I do not understand.
in the line: my %spl = split(/[=;]/, $has);
What does the [=;] mean ?
if this code is splitting $has for the words, why not use split(/[=1;]/) ?
also where does $i and $spl come from ?