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 o

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. > > Tr

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: 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 bee

ExtUtils::MakeMaker strips important linker flags

2007-02-18 Thread Torsten Schoenfeld
Aloha, the shared object in one of my modules, Gtk2::MozEmbed, needs to be linked in a way that makes sure the Mozilla libs can be found at run time. For this to work, libgtkmozembed's pkg-config file[1] specifies that "-Wl,-rpath -Wl,${libdir}" be used as arguments to the linker. Unfortunately,

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: Package::Unicorn

2007-02-18 Thread Smylers
A. Pagaltzis writes: > Easily possible if you change your interface to something less > magical-looking. Looks good to me. > > Better name than Package::Unicorn or Acme::RealSoonNow? > > Well, what does the module really do? I agree, but ... > It populates %INC with the proper bits for a give

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/

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 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

Re: Package::Unicorn

2007-02-18 Thread Aaron Crane
Eric Wilhelm writes: > use Package::Unicorn sub { > package BlahBlahBlah; > sub thing {foo->stuff()}; > __PACKAGE__; > }; > 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 do

Package::Unicorn

2007-02-18 Thread Eric Wilhelm
Hi all, Agile programming question... I frequently find myself in need of (or thinking I'm in need of) a new support package/class while developing a script/module. Often, a block-scoped package declaration will do the trick, but what if the architecture you're building toward needs to have s