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
* 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
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
# 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
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,
# 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
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
"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/
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
* 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
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
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
12 matches
Mail list logo