Re: Package::Unicorn

2007-02-18 Thread A. Pagaltzis
* Eric Wilhelm [EMAIL PROTECTED] [2007-02-18 09:20]: I've tried to come up with something that doesn't need the trailing __PACKAGE__ or require typing BlahBlahBlah twice, but can't think of anything that doesn't involve DB or B::*. Easily possible if you change your interface to something less

Sed (was Re: Package::Unicorn)

2007-02-18 Thread Darren Chamberlain
On 2/18/07, A. Pagaltzis [EMAIL PROTECTED] wrote: (If I had a nickel for every time I've wished Perl had an s///-like function that returned a modified copy instead of modifying the original string in place…) This was the impetus behind my Sed[0] module: my $a = Hello, world; my $b = sed {

Re: Package::Unicorn

2007-02-18 Thread Dr.Ruud
A. Pagaltzis schreef: (If I had a nickel for every time I've wished Perl had an s///-like function that returned a modified copy instead of modifying the original string in place.) Often this is good enough: (my $new = $old) =~ s/from/to/; But if $old is several GBs large, and the s///

Re: Package::Unicorn

2007-02-18 Thread Eric Wilhelm
# from A. Pagaltzis # on Sunday 18 February 2007 07:45 am: Easily possible if you change your interface to something less magical-looking. But then its not a unicorn anymore :'( Well, what does the module really do? It populates %INC with the proper bits for a given package name. That’s what

Re: ExtUtils::MakeMaker strips important linker flags

2007-02-18 Thread Eric Wilhelm
# from Torsten Schoenfeld # on Sunday 18 February 2007 12:10 pm: For this to work, libgtkmozembed's pkg-config file[1] specifies that -Wl,-rpath -Wl,${libdir} be used as arguments to the linker. Unfortunately, ExtUtils::MakeMaker strips linker flags that don't look like -lxxx[2]. I've been using

Re: Package::Unicorn

2007-02-18 Thread Joshua ben Jore
On 2/18/07, Eric Wilhelm [EMAIL PROTECTED] wrote: You can do parts of this with Best. It doesn't presume to name your anonymous code so you're stuck with populating %INC but then I thought the point was that you didn't know what name you were going to use yet. Once you have a name, you can just

Re: Package::Unicorn

2007-02-18 Thread A. Pagaltzis
* Eric Wilhelm [EMAIL PROTECTED] [2007-02-18 18:35]: # from A. Pagaltzis # on Sunday 18 February 2007 07:45 am: Well, what does the module really do? It populates %INC with the proper bits for a given package name. That’s what I’d put in the name. Package::FakeIncEntry maybe. True, that is

Re: Another non-free license - PerlBuildSystem

2007-02-18 Thread imacat
I support the GNU over BSD license, though this is not the subject here. On Sat, 17 Feb 2007 12:53:38 -0600 Ken Williams [EMAIL PROTECTED] wrote: On Feb 16, 2007, at 1:01 PM, Ashley Pond V wrote: * You, are part or, work for an entity that directely produces work or goods for any of