Quincy Ntuli wrote:

> I have a list @listing whose output is like ...
> 
> data/23_59_54_20_08_2002
>  data/23_59_55_20_08_2002
>  data/23_59_56_20_08_2002
>  data/23_59_57_20_08_2002
>  data/23_59_58_20_08_2002
>  data/23_59_59_20_08_2002
> 
> how do i search and replace occurances of
> 
> data/
> 
> with nothing ( "" )
> 
> thanks

see if this is faster if your data always have 'data/' in front:

substr($_,0,5) = '' for(@k);

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to