![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
using unpackby indapa (Monk) |
on Apr 18, 2001 at 03:26 UTC ( #73389=perlquestion: print w/replies, xml ) | Need Help?? |
indapa has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to assign the result of unpack to an array:
My thinking was that the array would have the list of 10-length substrings taken from $some_string. But it appears that you cannot assign the result of unpack to an array. What I get is just the first 10 characters of the string. Is there a way to work around this? I have list of of length >300, that I want to print out in length 10 substrings. Thanks for the help.
Back to
Seekers of Perl Wisdom
|
|