Hi,

I am trying to split a string on every 9th character. I thought that this

my @list = split(/.{9}/, $string);

might do it but it doesn't work.

I thought about using splice but the string is a scalar. If I coudl
force it into an array that would help.

Has anyone got any ideas?
Thanx,
Dp.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to