in reply to Help me understand this code?

Run it in the debugger. You can inspect the variables and see what it is doing. This loops over standard input:

for (<>) { ... }

See perlop to understand what the operators are doing.

Dum Spiro Spero

Replies are listed 'Best First'.
Re^2: Help me understand this code?
by ansabhailte (Novice) on May 21, 2015 at 20:49 UTC
    https://gist.github.com/coderd00d/a88d4d2da014203898af This is the input. How do I feed it into it? (I know this sounds really noobish but the debugger pops up DB1 etc and I'm not sure what it's looking for exactly).
        Thanks. I was about to ask if I needed to curl to a pipe XD