[Purdue-pm] Libraries have me befuddled
Dave Jacoby
jacoby at purdue.edu
Tue Sep 3 06:42:23 PDT 2013
Interesting, but I'm not sure it's the solution for my problem.
Especially since I don't want to rewrite several modules to use it.
I'm still not sure why it doesn't work. That everything includes
everything else is part of it, that's part of the problem.
On 9/3/2013 9:32 AM, Joe Kline wrote:
> Dave,
>
> in my slapdash cgi web app abomination I used:
>
>
> package spaghetti_code;
>
> use strict;
> use warnings;
>
> use v5.12;
>
> use Sub::Exporter
> -setup => {
> exports => [ qw(
> ghod_awful
> long_list
> of_subs
> )
> ]
> };
> # end of exports
>
>
> In the scripts that use this module I have:
>
> use spaghetti_code qw(:all);
>
> Although I think I could just pull in individual subs if I wanted.
>
> https://metacpan.org/module/Sub::Exporter
>
> The upside is that the current Pumpking is the maintainer.
>
> The downside is that it isn't core.
--
Dave Jacoby
Code Maker, Purdue Genomics Core Lab
http://web.ics.purdue.edu/~djacoby
216 days until the end of XP support
http://www.accidentalcreative.com/creating/boycott-unnecessary-complexity
More information about the Purdue-pm
mailing list