Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Re: shrinking result of a regex substitution

Expand Messages
  • merlyn@stonehenge.com
    ... 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
    Message 1 of 8 , Oct 19, 2006
    • 0 Attachment
      >>>>> "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
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.