* 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
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 {
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///
# 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
# 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
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
* 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
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