reiserfs) DirDB might be the module for you rather than a
single-file database.
--
david nicol
Where the hell did I put my coffee?
. $hash{a} will get
a reference to an empty hash stored in it, then the empty hash
will get {complicated} added to it, etc.
DirDB deals with this by hijacking empty hash references and
tieing them too.
--
david nicol
perl -e 'printf ah, hot %x.\n, 12648430'
think Tie::HashWrapper is a fine name for a module that wraps a hash
in a to-be-declared layer. You could get cute and call it Blintz or
Burrito or something. Maybe zigzag.
--
david nicol
perl -e 'printf ah, hot %x.\n, 12648430'
familiar
with in Perl: (FETCH|STORE)(KEY|VALUE)?.
me too
(is this list averse to me toos? I am new here)
--
david nicol
The elves have left the building
?
--
david nicol
The elves have left the building
these steps to safely use a local hashed file.
--
david nicol
The elves have left the building
/listinfo/tjais-dev
David Nicol
--
david nicol
The elves have left the building
another way to do that is with either the Pollute or the
Pollute::Persistent modules, which are concerned with re-exporting
imported symbols.
--
david nicol
And now for something boldly anticlimactic.
?
--
david nicol
Take your time. -- Allan Quaterman
Is this an appropriate post to module-authors or would it
be better taken to fun-with-perl? It's a module announcement...
Acme::please is for randomly inserting please into
your output via a tied scalar. The string and printing percentage
are both configurable (see the documentation.)
to allow
this, but vanilla Perl does not account for such a situation.
Sure there is: You can edit the include search path.
--
david nicol
In order to understand what another person is saying, you must assume that it
is true and try to imagine what it could be true of. (George Miller; 1980.)
/FAQ.pm
does not contain a section on version compatibility, maybe you could
submit one?
--
david nicol
In order to understand what another person is saying, you must assume that it
is true and try to imagine what it could be true of. (George Miller; 1980.)
: the AUTOLOAD
function needs to know how to punt.
--
david nicol
In order to understand what another person is saying, you must assume that it
is true and try to imagine what it could be true of. (George Miller; 1980.)
.
:)
David Nicol
--
david nicol
In order to understand what another person is saying, you must assume that it
is true and try to imagine what it could be true of. (George Miller; 1980.)
On Thu, 2004-01-22 at 07:46, A. Pagaltzis wrote:
* david nicol [EMAIL PROTECTED] [2004-01-22 03:43]:
and rewriting Crequire in some way to respect that?
Obviously you don't even need to; providing a custom VERSION()
is all you have to do.
Yes, this seems to be the Original Design. Where
So here's what I got back from perlbug
--
david nicol
shift back the cost. www.pay2send.com
---BeginMessage---
See CPAN/authors/id/J/JP/JPEACOCK/version-Limit-0.01.tar.gz for a way to
do this using the version module and Perl 5.8.0+
---End Message---
Has anyone written a Perl parser for PHP's Smarty template language?
--
david nicol
Hands all over Western culture
Ruffling feathers and turning eagles into vultures
a choice to zag or zig, that's where you go for a
hint. (I have verified that caller() is available within VERSION.)
--
david nicol
this message was sent from a filtering e-mail address.
your reply must include a listed magic phrase such as perl
David Manura wrote:
use Text::Balanced '1.95_1.96';
-davidm
I don't understand the scenario in which someone besides the module
author would
ever use this. If I have understood this thread so far, the interface
changed in version
1.96 and then changed back, and you want to support the poor
On Wed, 2004-03-03 at 23:24, David Manura wrote:
something like this:
use T::B '1.87_1.96';
is more precise because it says The client code accepts either the 1.87 or 1.96
style interface. 3.14 will work now. In fact, the entire 1.87-3.14 range (and
possibly beyond) will accept
Simon Cozens wrote:
[EMAIL PROTECTED] (Jochen Stenzel) writes:
the base technique is to build a use constant statement at runtime and evaluate it via eval().
% perl -w -Mstrict -le 'eval use constant FOO = 3; print FOO'
Name main::FOO used only once: possible typo at -e line 1.
print()
Jenda Krynicky wrote:
What if they are set up during the script's startup and then stay
constant? Then they were changed (well defined) once during one of
the several runtimes but still they are constant for the rest of
the script and may even be treated as constants by the optimizer. If
it's
On Thu, 2004-03-04 at 21:14, david nicol wrote:
a way to write an
application that will work under both versions, when the installer of
the program does not have control over the libraries and has an old
library installed.
Another possibility would be to use AUTOLOAD to defer defining
mine is
AIS::client
which I can rename to match the others if you come up
with a good name.
I have not tested AIS::client with mp and presume it is
broken there. Turning www::authen::simple into an AIS
client would allow you to centralize your authentication.
--
[EMAIL PROTECTED]
I know you,
[EMAIL PROTECTED] wrote:
I hadn't heard of AIS before. Sounds like it would make a nice additional
authentication method. Part of my TODO is to abstract both the
authentication and storage methods. I should be able to add this auth
method after that (though, it doesn't offer any group based
been
improving a lot in 2004 as I have written several systems that refer
to it and have tested it on boa as well as apache.
--
david nicol
this message was sent from a filtering e-mail address.
Until I add you to my friends list, to get by Big Emet
the cowboy doorman your reply must include
Lincoln A. Baxter wrote:
Comments anyone?
Lincoln
What differentiates your framework from POE?
--
[EMAIL PROTECTED]
There's a fine line between participation and mockery -- Scott Adams
On Tue, 2004-05-18 at 12:37, Michael A Nachbaur wrote:
This is the kind of problem I'd like to solve with a new top
level namespace.
Scripts are in a separate section of CPAN from modules
http://cpan.org/scripts/index.html
freshmeat.net works pretty well too
--
david nicol
People used
Michael A Nachbaur wrote:
freshmeat.net works pretty well too
This isn't a viable option for me. If this application is 100% perl, why go
*outside* of the perl distribution network of choice to distribute it?
freshmeat isn't a distribution network, it's an index of applications.
We're
This isn't what you're going to want to hear but I believe
the current best practice for some time has been to write your
document in LaTeX and then run it through the appropriate software
to generate your pdf.
I wonder if the openoffice format and libraries can be accessed
directly, that would be
Mohamed Parvez wwrote:
Its very surprising java has a API ( iTEXT ) that lets me do all these
without pain.
And CPAN does not have one.
It's amazing what one can accomplish with a well-funded marketing
strategy. The hold times at Sun are also much less than if you can
even get the number for the
in capability the become dialects of Lisp.
--
david nicol
People used to be able to read my thoughts, but
it doesn't appear to work any more. Should I eat less cheese?
-- Elizabeth Woods
I am writing a module that provides HTTP interface using select,
for simple web applications without a web-server, and without
POE or other modules.
Configuration will be by mapping paths to coderefs.
Planning to call this cute beastie HTTP::Server::Selecting.
Comments?
--
david nicol
select? - non-blocking API,
or just buffer the generated DATA in memory and then feed it out at the
pace dictated by select() and non-blocking IO?
because I'm not convinced that this name would give much insight into
the implications of the implementation, and the trade offs they give.
--
david
On Sun, 2004-08-22 at 08:22, David R. Baird wrote:
At the moment, I'm favouring something with Tree and ACL in it, plus
something like MethodMaker to indicate the code-managing aspect.
Maybe Perms instead of ACL, but ACL seems to be the standard
terminology.
ACL and groups are different
version 0.04 will extend
this to programs which will get opened into pipes, and do selects
on the handles to avoid blocking, since nonblocking is not portable.
--
david nicol
Someday, everything's going to be different
when I paint my masterpiece.
You may be better off using Test::More, which has much of what you've
created in Test::Utils, but with more visible reporting to the user (and
into the cpan-testers email).
or just die when something really goes wrong (like uninstalled prereqs) instead
of forcing the academic exercise of
what you describe soulnd like a more general case, which when solved, will
solve the needs of the guy who wants persistent per-session database handles.
--
David L Nicol
How cool is that? -- Elgie
instead of having to haul around the code to figure this out, why not create a
handy documentary web service somewhere where you fill out the blanks and
get an appropriate connection string? Loading a module every time you start
the program just to create something that is a permanent
I don't understand what's being contemplated here.
I think we're talking about recreating Package::Alias,
which is essentially sugar around
use really::long::name::ending::bar;
BEGIN {
*bar:: = \*really::long::name::ending::bar::
}
after which the methods in RLNEB can be referred to
with
call it Net::FTP2 with the same caveats and reccommenddations
and include blat and slurp methods! I don't want to have
to create and release Net::FTP2::blat when I want to work
with remote data over secure FTP.
my two rusty bottlecaps,
david nicol
how is it different from Package::Alias?
On Thu, 6 Jan 2005 22:48:50 -0800 (PST), Ovid
[EMAIL PROTECTED] wrote:
Since absolutely no one could agree on the name, I went ahead and
uploaded the module as 'aliased'. Right now, 0.1 is available on the
CPAN, but .11 is on its way. The code is
On Sat, 8 Jan 2005 04:26:29 +0100, A. Pagaltzis [EMAIL PROTECTED] wrote:
But ::Lite is misleading anyway. It's not the module's goal to be
a light implementation of FTP, rather it intends to support
things Net::FTP doesn't.
So call it something else -- to load it -- but internally, keep the
On Fri, 04 Feb 2005 07:46:14 -0500, David A. Golden
[EMAIL PROTECTED] wrote:
I'm not sure if it can be done, but maybe login ID's could done with an
email address rather than a nickname. That would allow module authors
to clearly use their cpan email address for identity (with a password
there's an IRC top-level namespace, with IRC::Bot in it.
On Sun, 6 Feb 2005 17:56:01 -0500, Rocco Caputo [EMAIL PROTECTED] wrote:
I've written a module that threads chat messages, but I don't know
what to name it. Chat::Threader comes to mind.
http://cpan.org/modules/by-module/ doesn't list
http is more robust over a proxy
On Sat, 19 Feb 2005 14:33:03 -0800, Linda W [EMAIL PROTECTED] wrote:
When cpan goes to do a get, it first says LWP not available,
then tries NET::Ftp (which failes because it is behind
a FW and needs to use ftp_proxy) and finally lynx. Lynx works
On Wed, 16 Mar 2005 09:46:05 -0500, Sean Quinlan [EMAIL PROTECTED]
Speaking of mailing lists, is there a community listserv authors could
use? I have mailing lists for a couple projects (currently getting
dusty), but not everyone might have the option to set up their own
mailing lists. And
On 4/21/05, Ken Williams [EMAIL PROTECTED] wrote:
True, but it's not too small to submit as a patch for HTML::Entities.
-Ken
or even a doc-patch for HTML::Entities. I think my political goal here is
fame points through getting Tie::Function into wider use.
HTML::Entities is widely
On 7/28/05, Chris [EMAIL PROTECTED] wrote:
On Thu, 28 Jul 2005, Andy Lester wrote:
I don't think we need another CPAN at all. There's nothing wrong with
putting require 6; at the top of Makefile.PL and keeping everything in
one happy CPAN.
That means CPAN is going to have to parse it,
On 8/15/05, Matisse Enzer [EMAIL PROTECTED] wrote:
Just a data point:
I'm the maintainer of Text::TagTemplate and will soon release a version
that lets you set the regexes that define the start and end of a tag.
FWIW, I have just uploaded TipJar::Template::fill to CPAN. It
is an
I strongly suspect that the people who use Module::Release are not
the ones uploading modules with boilerplate. Putting the test in
Module::Release is a good idea, but it would not abate the primary
problem under discussion.
Chris
gotta put the checks in PAUSE so it rejects
On 9/27/05, Chuck Fox [EMAIL PROTECTED] wrote:
I have a subclassed DBI module that I am interested in publishing. Is
there a guideline or list of do's and don'ts for publishing to CPAN ?
Other than doing a make dist, are the formats/styles that are preferred ?
Is this the correct forum for
Maybe leave the name alone but change the abstract?
A URI object built for easy and efficient manipulation may be
true but it doesn't tell us: manipulation of what, by what, nor
that it is compatible with the URI in many ways. Perhaps
standalone module for constructing URIs by building them
On 10/5/05, Ken Williams [EMAIL PROTECTED] wrote:
s/ of query.*\././;
too vague. The whole CPAN is built for easy and efficient manipulation.
saying so is like claming your budweiser is colder or your size is extra medium
or something else just as meaningless.
--
David L Nicol
You aren't
optimized for ... is good in abstracts IMO.
URI factory class optimized for query construction
isn't there a multimedia name space? name spaces per-product
that is being supported make sense --- Flash::parseFLV perhaps?
Or File::FLV? Or File::FLV::Parser?
I don't think File:: is right for this.
Right, because it's not a filehandle or otherwise IO/filesystem related.
--
David L
On 12/2/05, David Landgren [EMAIL PROTECTED] wrote:
Eric Wilhelm wrote:
What else will appear in the Flash:: namespace? Will macromedia release
a pure perl version?
In about 10 days time, I'm going to forget utterly that FF means File
Formats. Does it need to be so terse?
Tossing out
I think the interpreter might complain about that a bit-
use 22;
Perl v22.0.0 required (did you mean v22.000?)--this is only v5.8.6, stopped
at -e line 1.
:-)
Austin
# perl -MModuleNumber22 -le 'print 1'
Can't locate ModuleNumber22.pm in @INC (@INC contains:
Sorry, that should have been
$ perl -MModuleNumber::22 -le 'print 1'
Can't locate ModuleNumber/22.pm in @INC
On 4/8/06, Nick Ing-Simmons [EMAIL PROTECTED] wrote:
Ok, just checking that you didn't need access to VARIABLE for your
state case to work.
no. State variable as tied is vastly inferior to externally scoped and
initialized native variable, but the package for it would look something like
On 4/25/06, Steve Vance [EMAIL PROTECTED] wrote:
I know there is a FAQ about module authors who are unresponsive. But I'm
talking about one who is unresponsive, and his e-mail addresses all bounce,
and
his website is gone, and, well, I fear for the worst. Insert Monty Python Dead
Parrot
On 6/22/06, David Landgren [EMAIL PROTECTED] wrote:
Could Perl get Reversible Debugging?
[...]
We need a come from instruction
http://xrl.us/nnuw
I don't recall reading a demand for a come from instruction in that thread,
but I had an idea last night that I was going to dismiss as
On 8/14/06, James E Keenan [EMAIL PROTECTED] wrote:
In the subsequent discussion, people suggested that we need the following:
1. Place for current module authors/maintainers who wish to transfer
maintenance of certain modules to so indicate.
2. Place for people who are willing to take over
the attached proof-of-concept is almost as ugly as my coroutines module on CPAN,
but i have succeeded in implementing a tail-recursion framework in pure perl.
In order to use it, all modifications to recursive function arguments must be
made directly into @_, but a method is suggested for using
On 8/30/06, Andy Armstrong [EMAIL PROTECTED] wrote:
Sorry, I've missed something here - how is your 'framework' superior
to a simple queue based approach?
it demonstrates tail-recursion, as such, and is not intended to be
a superior approach to other practices.
I just realized that goto sub
On 8/30/06, Andy Armstrong [EMAIL PROTECTED] wrote:
I don't think goto sub can really be described as a framework... Or
if it can may I start describing if() as a decision support system too?
I won't stop you :)
But why are you showing us this stuff? Who is it for? I'd have
thought that
getting the invocation syntax right was kind of tricky since my first thought,
which was that writing to $_[0] would overwrite the symtab entry for a
subroutine when the optimizer was invoked tr_optimize(\function) turned
out to be incorrect -- it will work with globs though -- no support for
On 11/10/06, David Landgren [EMAIL PROTECTED] wrote:
I suppose it will default to the site_perl directory if run in batch
mode, but interactive installations allow the directory to be specified.
OS distribution maintainers may wish to override the default (how? an
environment variable à la
Has anyone written a perly interface to the gnome planner file format?
It's XML so it's going to be basically a breeze, but I'd rather re-use someone
else's tool if available.
is there a DesignPattern:: section? I did not take the time to fully
understand your explanation
but the gist I got was that you are comfortable with design patterns
nomenclature. I know
there are at least some documentary CPAN modules concerned with DP in
Perl, but do
not know if DP-based
On 1/19/07, Paul LeoNerd Evans [EMAIL PROTECTED] wrote:
That wasn't the intention, it's really just looking to find a class that
is already installed and usable, that itself declares ability to be what
you asked for.
so the invention in a module that facilitates creation of portable modules
On 3/20/07, Adam Kennedy [EMAIL PROTECTED] wrote:
Gabor Szabo wrote:
On 3/18/07, David Golden [EMAIL PROTECTED] wrote:
If you install your program, but say And since it installs Perl, you
can also use it to write your own Perl programs! that would be overtly
making the interfaces visible.
If
specifically, paragraph 4.c:
[you may distribnuted modifed Perl provided you]
give non-standard executables non-standard names,
and clearly document the differences in manual pages
(or equivalent), together with instructions on where to
get the Standard Version.
So, something like Whizzomatic
has anyone mentioned xeger yet in this discussion?
On 5/1/07, Adrian Howard [EMAIL PROTECTED] wrote:
http://search.cpan.org/~hooo/perl-0.0017/
I suppose a new release of Pollute should handle modifications to
the hints variable.
--
practical solutions to systemic problems
could your approach be made to work with the Inline:: framework?
On 5/6/07, Vadim Konovalov [EMAIL PROTECTED] wrote:
I want to publish perl-to-lisp bridge module to CPAN.
It connects existing LISP implementation to Perl, which turns out to be
robust LISP out from perl (as opposed to toy
On 5/8/07, Vadim [EMAIL PROTECTED] wrote:
no, it uses CFFI, so this should cover every implementation supporting that.
Ever since reading Hackers and Painters
http://www.amazon.com/exec/obidos/ISBN=0596006624/tipjartransactioA
I've been defending Perl is a LISP! (which is actually quite
On 5/9/07, Vadim [EMAIL PROTECTED] wrote:
I consider eval $string as a replacement of macros.
for instance, I did the following in a curl wrapper package, to make
the curlies optional around the fieldnames:
BEGIN { for (qw/
BUFFER CALLBACK DATA EVENT FAILURE FETCHTIMEOUT
GET
so if there were lisp-like macros available in perl, my sugar example
might be something like the following?
macro hashkeyaccessor(fieldname) { sub fieldname { $_[0]-{fieldname}} };
hashkeyaccessor $_ for qw/FIELD NAMES GO HERE .../;
and I would save the trickiness of getting the
On 5/10/07, Adrian Howard [EMAIL PROTECTED] wrote:
On 9 May 2007, at 21:37, David Nicol wrote:
[proposed macro syntax example:]
macro hashkeyaccessor(fieldname) { sub fieldname { $_[0]-
{fieldname}} };
hashkeyaccessor $_ for qw/FIELD NAMES GO HERE .../;
[summary of benefits of approach
On 5/22/07, Andy Lester [EMAIL PROTECTED] wrote:
On May 22, 2007, at 11:07 AM, David Nicol wrote:
I'm trying hard to get people to stop saying script when
referring to their Perl programs. I'd prefer that we not use it
anywhere at all.
outside of computers, script is a better term
On May 17, 2007, at 4:08 PM, Andy Lester wrote:
I'm trying hard to get people to stop saying script when
referring to their Perl programs. I'd prefer that we not use it
anywhere at all.
outside of computers, script is a better term for the carefully
tuned deliverables that software engineer
On 5/23/07, Andy Lester [EMAIL PROTECTED] wrote:
I meant about his irrelevant parallels to program being what you
get at the opera, and script the lines of a play.
So if you find non-geek usage irrelevant, what is the scope of the
target demographic whose usage you seek to correct then?
--
It
http://news.com.com/2100-1029-6186430.html
--
It is not possible to make a mistake. (customary greeting given by
Bokononists when meeting a shy person)
On 5/25/07, Joshua ben Jore [EMAIL PROTECTED] wrote:
You may want want to convert from UTF16 to perl native strings, then
convert back. JavaScript is defined as being stored in UTF16 but
that's kind of unusual elsewhere. Isn't it?
As Dr. Ruud said; also, ECMAscript engine authors (at least
On 5/26/07, Ken Williams [EMAIL PROTECTED] wrote:
I think that's part of it. But another problem is that many people
don't know the official names for the data structures they're
thinking of, e.g. trie or skiplist or whatever, so they can't
search very effectively for it.
It does seem like a
We can declare a line number, in source code, like so
# perl foo
#line 54
die smiling
foo
smiling at - line 54.
#
and counting newlines within a Filter::Simple code block is easy enough
but how do I find out what line to start at, so I can insert #line comments
into my filter output that will
On 6/1/07, Rocco Caputo [EMAIL PROTECTED] wrote:
caller() is a good solution. I use it, Filter::Util::Call, and some
involved #line magic to maintain sane line numbers in
Filter::Template.
I am preprocessing the code to add line number identifiers between
all lines, then when I process the
does it do SSO?
It provides a generic user account management system, with features such as:
[...]
String::Sandbox ??
On 6/29/07, Bill Ward [EMAIL PROTECTED] wrote:
No a sandbox is where you have a practice area where changes made have
no lasting impact. For example ebay and paypal have sandbox areas
where you can experiment with applications that use those services
without actually buying anything. This is
On 6/30/07, Eric Wilhelm [EMAIL PROTECTED] wrote:
A dangerous animal in a sandbox will probably get out.
so the most standard term i believe is jail
so I am closer than ever to releasing my way-cool source filter module,
which is based on Filter::Simple. Big question: how do I write the test
script?
Macrame 0.08 finally passes a variety of tests and has been uploaded.
Please harangue it via rt.cpan.org.
On Nov 30, 2007 7:24 PM, Jenda Krynicky [EMAIL PROTECTED] wrote:
I'm missing the reason-for-being of the module it its docs. I read
the whole documentation and the test script and I still don't get it.
What is it supposed to be used for?
Sorry, Jenda
polymorphic functions / more complex
On Dec 6, 2007 6:23 PM, Bill Ward [EMAIL PROTECTED] wrote:
Cute experiment, but I REALLY hope nobody tries releasing useful
modules to CPAN that depend on this...
Thank you
After it has line number support it will be more practically useful.
I'm sort of stuck on how much records of line
On Dec 10, 2007 5:17 AM, Dominique Quatravaux [EMAIL PROTECTED] wrote:
+1, imho it makes good sense to have (some future version of)
Cache::Memcached depend on Lib::Memcached.
me too
I've written a couple of little recursive routines that provide
arrays or arrayrefs of arrayrefs of all the possible permutations
and combinations, of sets of n items, counting from 0 to n-1,
and wondering if such a thing is worth cluttering up CPAN with.
I'm using them for this crazy
On Mon, Mar 17, 2008 at 12:45 PM, Guy Hulbert [EMAIL PROTECTED] wrote:
Inline::C may be easier but I don't know how much it is used.
It's used less than it used to, thanks to this guy:
InlineX::CPP2XS
Convert from Inline C++ code to XS.
InlineX-CPP2XS-0.12 - 19 Sep 2007 - Sisyphus
shorewall-perl might be a place to start; shorewall comes up zero on
cpan search, yet is
a big perl program; so converting it to an O-O module should be a
simple matter of
time and coffee :)
On Tue, Mar 18, 2008 at 5:20 PM, Eric Wilhelm
[EMAIL PROTECTED] wrote:
# from Juan Luis Belmonte
# on
1 - 100 of 160 matches
Mail list logo