Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2018-02-19 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (258 votes). Check out past polls.

    Notices?