Re: [PBML] Re: shrinking result of a regex substitution
>>>>> "Rob" == Rob Biedenharn <Rob@...> writes:Rob> If you don't like the duplication of the -f, you could do:
Rob> $arglist =~ s/\s*-f\s*/ /;
I thought about that, but it does the wrong thing if it's only "-f".
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!