http://www.perlmonks.org?node_id=750452


in reply to Re^3: Top Seven (Bad) Reasons Not To Use Modules
in thread Top Seven (Bad) Reasons Not To Use Modules

It's "convert whatever newlines to the Windows newlines".
\R does indeed mean, "whatever newlines".

Assuming you have upgraded your Perl in the last 5 quarters.

  • Comment on Re^4: Top Seven (Bad) Reasons Not To Use Modules

Replies are listed 'Best First'.
Re^5: Top Seven (Bad) Reasons Not To Use Modules
by Lawliet (Curate) on Mar 13, 2009 at 18:59 UTC

    Ah, I didn't know that. (I guess I would have been better off with the module too, eh?).

    And you didn't even know bears could type.

      Don't get me wrong. I never claimed people shouldn't use modules. I never claimed the module used in the example shouldn't be used.

      I just don't think using a module to replace a substitution consisting of a single 2 character token as the pattern is a great example of how timesaving modules can be.