Wouldn't it be this instead?
substr $_, index($_, $ss), length($ss) = $rs;
Same thing.
I was looking up substr and didn't see a fourth parameter.
Really? It's the top signature in the docs.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>