On Sat, 2 Mar 2002, Steven M. Klass wrote:
> if (/start/ .. /end/){
> s/^foo/bar/;
>
> }
Just add an alternative match:
if (/start/ .. /end/) {
s/^foo/bar/ or s/^/bar/ ;
}
--
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."
- Holly, JMC Vessel *Red Dwarf*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
