Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: how many lines returned from backticks

by dws (Chancellor)
on Jun 30, 2002 at 03:56 UTC ( #178303=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my @lines = `findgsc ...`;
  2. or download this
      @lines = `findgsc ...`;
  3. or download this
      @lines = `finedgsc ...`;
      $prevLines = scalar @lines;
      @lines = `findgsc ...`;
      if ( scalar @lines > $prevLines ) {
          # we got more this time
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178303]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-06-23 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (125 votes). Check out past polls.

    Notices?