in reply to Re: Change C style Code into Perl on Windows
in thread Change C style Code into Perl on Windows
Minor efficiency nit, but grep /6000/, `netstat -n` would be better as it avoids a BLOCK enter/leave for each line. If your grep test is a single EXPR rather than multiple statements it can shave a little time off. (And of course Benchmark to verify for your particular case if you're in doubt).
--
We're looking for people in ATL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Change C style Code into Perl on Windows
by mifflin (Curate) on Jun 10, 2005 at 00:07 UTC |