|
|
Subject:
Help with a Perl script
Category: Computers Asked by: mickr-ga List Price: $10.00 |
Posted:
10 Aug 2006 03:46 PDT
Expires: 09 Sep 2006 03:46 PDT Question ID: 754616 |
|
There is no answer at this time. |
|
Subject:
Re: Help with a Perl script
From: bozo99-ga on 10 Aug 2006 16:48 PDT |
Add a state variable that indicates whether you are printing or not printing and you can set this variable to "not printing" in a loop that tests all the names. |
Subject:
Re: Help with a Perl script
From: haripatti-ga on 23 Aug 2006 22:27 PDT |
how about this $search_string = join("|", $ARGV[0]..$ARGV[$#ARGV - 2]); if (/^[ ]*name ($search_string) / ... /^[ ]*endname/ ) { } else { print OUTFILE $_; } |
Subject:
Re: Help with a Perl script
From: mickr-ga on 24 Aug 2006 03:21 PDT |
Great got it to work using $search_string = join("|", @ARGV[0 .. $#ARGV - 2]); thanks very much! |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |