Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^5: Array size issue

by blue_cowdawg (Monsignor)
on Oct 15, 2012 at 20:43 UTC ( #999174=note: print w/ replies, xml ) Need Help??

in reply to Re^4: Array size issue
in thread Array size issue

myself I'd rewrite two of your "ifs."

next unless ($line =~ m@on $ipaddress@); last if scalar(@matches) >= 2;
At least to my eye that's more readable.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Comment on Re^5: Array size issue
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999174]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2015-11-27 10:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls