in reply to CR/LF in bin
What would be a best practice for someone like myself who wants to roll distros on both linux and win32?
I was surprised that Writing Solid CPAN Modules doesn't offer any advice to CPAN authors on this topic, so I need to update it.
I've always assumed that if the text files (e.g. .pl and .pm files) in your uploaded CPAN tarball are Unix LF-terminated, they'll work fine on all modern Perl platforms (including Windows and MacOS). But I couldn't find a definitive reference on this topic ... so if anyone knows of any cool references on this topic, please let us know.
Update: I've made a minor tweak to the Mechanics of Creating a New CPAN Module section at Writing Solid CPAN Modules, shown below.
Mechanics of Creating a New CPAN Module
Start with: Re: What do I use to release a module to CPAN for the first time? by davido.
Note: if performing point 2 (Generate your distribution framework) from davido's reference by hand (rather than using Module::Starter):
👁️🍾👍🦟
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CR/LF in bin
by dk (Chaplain) on May 10, 2024 at 08:23 UTC | |
|
Re^2: CR/LF in bin
by etj (Priest) on May 11, 2024 at 11:24 UTC | |
by dk (Chaplain) on May 14, 2024 at 12:29 UTC | |
by etj (Priest) on May 14, 2024 at 12:52 UTC | |
by dk (Chaplain) on May 14, 2024 at 21:14 UTC |