in reply to Re: Can you help me with these one-liners?
in thread Can you help me with these one-liners?

No no, sorry maybe I should have said it before... These are supposed to be my answers to small snippets of code that we must write for a course. And the teacher asked us to write them in Perl oneliners (this is the topic for the current lesson). I was just reading up the -n and -p functions, but in my little experience with Perl oneliners, I don't really understand how I could modify these lines and use the -n and -p (or if I SHOULD actually modify them or just let them as they are, since they work in my tasks).
  • Comment on Re^2: Can you help me with these one-liners?