Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999174]
help
Chatterbox?
[hippo]: Please also take a moment to read through I know what I mean. Why don't you? - this guidance will help others to help you.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2018-02-21 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (277 votes). Check out past polls.

    Notices?