How do I take a string in Perl and split it up into an array with entries two characters long each?
I attempted this:
@array = split(/../, $string);
but did not get the expected results.
Ultimately I want to turn something like this
F53CBBA476
in to an array containing
F5 3C BB A4 76
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…