in reply to When every 2 lines of a file (sans first) should be 1...

There's no need to carry $line_count, you can use $. instead.

And s!\n!!g; can be replaced with chomp.

Apart from that, your solution looks fine.