From gizmo at purdue.edu Tue Sep 3 06:32:03 2013 From: gizmo at purdue.edu (Joe Kline) Date: Tue, 03 Sep 2013 09:32:03 -0400 Subject: [Purdue-pm] Libraries have me befuddled In-Reply-To: <521FA933.8000108@purdue.edu> References: <521FA933.8000108@purdue.edu> Message-ID: <5225E4D3.7000505@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIl5NMACgkQb0mzA2gRTplJOACfairG1DrI71R+5Mtn5d0GqRl8 tnYAn3KFHPcRllSyuhsGpPY3DcT6yvP/ =IRhs -----END PGP SIGNATURE----- From jacoby at purdue.edu Tue Sep 3 06:42:23 2013 From: jacoby at purdue.edu (Dave Jacoby) Date: Tue, 03 Sep 2013 09:42:23 -0400 Subject: [Purdue-pm] Libraries have me befuddled In-Reply-To: <5225E4D3.7000505@purdue.edu> References: <521FA933.8000108@purdue.edu> <5225E4D3.7000505@purdue.edu> Message-ID: <5225E73F.5040804@purdue.edu> 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 From jacoby at purdue.edu Wed Sep 4 06:31:00 2013 From: jacoby at purdue.edu (Dave Jacoby) Date: Wed, 04 Sep 2013 09:31:00 -0400 Subject: [Purdue-pm] Meeting in Two Weeks Message-ID: <52273614.2040808@purdue.edu> Does anyone have any ideas for presentations? Either that they want to give or want to get? -- Dave Jacoby Code Maker, Purdue Genomics Core Lab http://web.ics.purdue.edu/~djacoby 215 days until the end of XP support http://www.accidentalcreative.com/creating/boycott-unnecessary-complexity