Data manipulation in perl

Hello guys..

I have the following question.

lets have that i have the following variable:

$field=werfiurd383nd93bc93 c93 d93 d9e3 ddd
or
array[0]=werfiurd383nd93bc93 c93 d93 d9e3 ddd

what i would like to do is to store the first 4 characters of gthe aboce variable in variable $chris, then the next 6 charactres in onother variable etc.
For example i would like to implement something like the following based on the $field variable:
$chris=werf
$chris1=iurd38
$chris2=nd93bc93 c93
$chris3=d93

look up the unpack and pack functions on the perldoc website. You could also use substr() or a regexp although the regexp would be my last choice since this is not pattern matching a regexp would be overkill.

Side note: check your post for grammar and spelling errors before hitting the submit button.