Exporting use strict/warnings into main

Posted on May 16, 2020. Filed under: Uncategorized | Tags: , , , |

Exporting use strict/warnings into main When a user adds this package with use, I’d like it to automatically inject/export the use strict; use warnings pragmas so they don’t have to add it to their script. I’ve seen other packages do this but I can’t figure out how.

Read Full Post | Make a Comment ( Comments Off on Exporting use strict/warnings into main )

How to build a base module

Posted on November 30, 2016. Filed under: Uncategorized | Tags: , , , , , , |

How to build a base module When working on large Perl projects, a base module is a nice way to setup a standard set of imported routines for the other modules in the project. With a base module you can configure a logger, turn on pragmas and import any other useful routines. See also Import::Into

Read Full Post | Make a Comment ( Comments Off on How to build a base module )

Liked it here?
Why not try sites on the blogroll...