As a general rule, I think that the best Perl programmers have had a solid foundation in C. Perl programs written in a style that is as close to C as possible are more easily understood by most other programmers. The benefits of this fact usually override the benefits of trying to fit everything on one line. Your program looks fine to me.