I guess and easy syntax for search and replace similar to:

s/this/that/g ...

Guess I will look at the s2p you mentioned as well.
Dave


-----Original Message-----
From: Randy W. Sims [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 10:39 AM
To: Dave Kettmann
Cc: Perl List (E-mail)
Subject: Re: Sed-type-function


Dave Kettmann wrote:
> List,
> 
> Does perl have any built-in sed-like function? I found ASED.pm, but would rather go 
> with something built in. I looked around a bit, but didnt find anything. I guess I 
> could go with using the Shell module but would rather using as few modules as 
> possible.

I'm not sure what you mean by sed-like function. Perl can do anything 
sed can do. There is also a script that converts sed to perl, see 
`perldoc s2p`

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


Reply via email to