In fact it's for (0..(@list-1))

because with from 1 it skipped the first elemt with [0]

Etienne

"Kipp, James" wrote:

> >
> > use strict;
> >
> > $line = "1:2:3:4:5";
> > @list = split (/:/ ,$line);
> >
> > for (1..@list) { @list[$_] = sprintf(":%d",@list[$_]; }
>
> good call, but you will need to do :
> (1..(@list-1)
>
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >

S/MIME Cryptographic Signature

Reply via email to