Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^7: Grep Pattern

by LanX (Cardinal)
on Dec 14, 2018 at 17:25 UTC ( #1227258=note: print w/replies, xml ) Need Help??


in reply to Re^6: Grep Pattern
in thread Grep Pattern

Let me rephrase: hdb's code is "definitely" easier and he didn't "mess up the implementation"

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^8: Grep Pattern
by ikegami (Pope) on Dec 14, 2018 at 22:46 UTC

    Not sure what game you're playing? Call it what you want, but it features horrible programming practices and it's far more complex than necessary.

      Which horrible programing practice?

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Hardcoding the length of the pattern array instead of using the length of the array.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-10-29 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (269 votes). Check out past polls.

    Notices?