gt; elements instead of functions)
I proposed a "perldoc -f"-a-like for operators a coupla years ago on
p5p. People thought it was a good idea. I even started work on it, but
stopped before I got very far cos other stuff intervened. I should get
back on it.
--
David Cantrell | Reality
On Tue, Sep 19, 2006 at 08:16:26AM -0700, Randal L. Schwartz wrote:
> >>>>> "David" == David Cantrell <[EMAIL PROTECTED]> writes:
> >> But don't throw out the simplicity of CGI.pm's basic task handling: parsing
> >> the incoming paramet
that are CGI's bread and
butter), but generating tags is most definitely not anything to do
with CGI.
--
David Cantrell | Enforcer, South London Linguistic Massive
All praise the Sun God
For He is a Fun God
Ra Ra Ra!
r ala mod_perl.
To me the Commong Gateway Interface means a standard method for dealing
with data supplied by the user, nothing more. It certainly doesn't
specify how you should implement it. Indeed, every mod_perl application
I've seen uses CGI.
--
David Cantrell | A machine for t
more recently
using a templating language like TT.
--
David Cantrell | top google result for "internet beard fetish club"
Computer Science is about lofty design goals and careful algorithmic
optimisation. Sysadminning is about cleaning up the resulting mess.
7;t think that signatures matter
in the slightest. It doesn't give you any kind of trust metric (like,
say, that the author is a nice guy and his Makefile.PL won't delete your
home directory) that you don't already have from the fact that my module
had to have been uploaded by me.
--
David Cantrell
owadays) would
> probably make sense.
Basic I/O is talking to filehandles and nyetwork sockets. Anything
above the UDP / TCP level should not, IMO, be included.
--
David Cantrell | random organic glop and a metric fuckton of electricity
On the bright side, if sendmail is tied up routing s
ty bundle, DB bundle, webserver bundle, algorithms bundle,
> Unix sysadmin bundle, Win32 bundle, Math bundle etc. Stuff like
> DateTime can go to some kind of a Utils bundle.
Thankfully, that's really easy to do with CPAN. See, eg, Bundle::Math
or Bundle::Perl6.
--
David Cantrell | London Pe
on mostly to those with dvd burners or those willing to purchase
> dvd installation disks.
Or those willing to feed more than one CD into their machine.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt
ut I'm not sure)
> DateTime
> CGI
> Some object-relational mapper
> mod_perl6 or some equivalent
> An HTML parser
> Various testing modules
I doubt a HTML parser is that important. Something like Storable and
GDBM_File are though.
--
David Cantrell | random organic
27;s now been cloned as Log4perl.
More importantly from a perl programmer's point of view, I'd really like
the benighted heathen pythonistas to be able to use my fabulous perl
code.
--
David Cantrell | Reality Engineer, Ministry of Information
It's my experience that neithe
On Tue, May 23, 2006 at 06:29:06PM +0100, Michael Mathews wrote:
> Um, yes anyone wanna work on a tryperl6 virtual shell?
I might be able to host a virtual machine with perl6 on it and give out
accounts. I need to think about how to stop people being naughty
though.
--
David Cantr
pugs, checked out the latest from the SVN repository (I think
> it's http://svn.openfoundry.org/pugs/), and built it. There's an
> INSTALL file in the root directory that explains things more.
Is there such a thing as an idiots' guide to getting Pugs working on OS
X? Cos every
A. Pagaltzis wrote:
* David Cantrell <[EMAIL PROTECTED]> [2006-05-03 11:00]:
It does work very well though and I prefer it to fighting with
the MakeMaker docs to figure out how to get it to install a
data file in the right place :-)
Perl has language-level support for uuencoding/-decodin
a data
file in the right place :-)
--
David Cantrell
chromatic wrote:
On Thursday 06 April 2006 17:53, Adam Kennedy wrote:
UNIVERSAL::isa/can when called as a function does a very specific thing,
and one that is often misunderstood.
... and never correct, in the face of proxy objects, blessed objects,
overloading, and ties.
I disagree. In part
Smylers wrote:
David Cantrell writes:
rsnapshot (for example) has its own code for traversing a directory
tree, its own cut-down Memoize, and probably a few others that I've
not found yet.
That said, I don't want to see those things go into the core, because
I'm in the "
its own code for traversing a directory
tree, its own cut-down Memoize, and probably a few others that I've not
found yet.
That said, I don't want to see those things go into the core, because
I'm in the "the core is too big already" camp.
--
David Cantrell
believe that "there's more than one way to do
it and almost all of them are wrong".
--
David Cantrell
cation is broken if one of its dependencies
doesn't work on their version of perl. If you're lucky, they might read
the error and determine that the module and not the application (or the
language!) is broken, but I'd not put money on them bothering to do that.
--
David Cantrell
Ben Evans wrote:
Strawman.
Ad hominem.
A graphing library is an obvious example where functional testing should be
used prior to automated regression testing.
Yes. It is one of many such examples. It just happens to be the one I
am working on as we speak.
--
David Cantrell
Geoffrey Young wrote:
David Cantrell wrote:
Try writing a test suite ahead of time for a graphing library. It's
possible (indeed, it's trivial - just check the md5 hashes of the images
that are spat out against images that you have prepared ahead of time in
some other way) but i
lts are good I then put an md5 hash of the
image into a regression test.
--
David Cantrell
d has
nothing to do with perl programming.
--
David Cantrell
David Landgren wrote:
David Cantrell wrote:
brian d foy wrote:
Seriously though, I would expect things in Win32::* to only work on
Windows, things in Linux::* only to work on linux, and so on for many
other sections (including Mac::* where I have some modules). Portable
code isn't alway
at it's an
excellent example of a nice portable module.
It doesn't work on RISC OS though.
--
David Cantrell
information. And god help you if you're looking at a
TranslateFilenamesUsingFiglet fs (which you wrote using fuse when very
very drunk).
--
David Cantrell
demerphq wrote:
On 1/30/06, David Cantrell <[EMAIL PROTECTED]> wrote:
So how, then, do I tell the testing system "this module only works on
Unix-like filesystems on Unix-like OSes"?
Hopefully it will be something like:
$I::don't::bother::to::write::portable::code=1;
My c
aintanance nightmare and I wish to be no
part of that :)
Actually, this isn't so bad on Debian. The packaging system copes with
having dependencies on particular versions of other packages, and Debian
is VERY stable - libfoo just doesn't randomly change version.
--
David Cantrell
ke installing CPAN packages into hosted environments much
easier.
Can you explain why? I don't understand. Surely if a hosting company
doesn't let people install stuff from the CPAN they'll be just as
idiotic about the CPPMAN?
--
David Cantrell
stems on Unix-like OSes"?
--
David Cantrell
tormtrooper Black Helicopters, it has to be a Pinot Noir.
--
David Cantrell
aiming for high Quality instead of Kwalitee.
I'm all in favour of adding has_licence, on the grounds that some people
care about Kwalitee willy-waving and not Quality, and so it'll be a good
way to encourage them to DTRT.
--
David Cantrell
modules, like what File::Spec does. I'd not
support that argument though - it would make stuff like ...
warn("Windows isn't supported\n") if($^O =~ /win32/i);
impractical.
--
David Cantrell
Adam Kennedy wrote:
David Cantrell wrote:
Tels wrote:
If I were to run CPANTS, I would drop that module like a hot potato
at a summer campfire.
Oh, and reduce everyone's K rating involved in the little prank by
one :)
I thought the whole point of CPANTS was to be useful to authors
nt to game my CPANTS rating why
would you care?
--
David Cantrell
bout that! What revision of perl (or rather,
perldoc) did that appear in? I think I'll stick to #comments though -
less typing!
--
David Cantrell
demerphq wrote:
Whose command line? Mine doesnt by default come with xargs.
I expect it didn't come with perl either, yet you seem to have managed
to install that yourself.
--
David Cantrell
y have some decent contacts.
See also:
http://www.edri.org/
http://www.eff-europe.org/
--
David Cantrell
Adrian Howard wrote:
On 19 Apr 2005, at 11:40, David Cantrell wrote:
The script that generates it doesn't change. The data that it mangles
into a module is the bit that changes.
Can you add a version number to the data?
Yep, did that last night. It's (eg) 1.20050420.
I dug through m
Adrian Howard wrote:
On 18 Apr 2005, at 17:03, David Cantrell wrote:
Number::Phone::UK::Data - no version, this is where the .0004 comes from
though. It has no version number because the
entire file is generated from a *really* dumb
from the
versions of the several modules contained therein - and if not, where
should the package version number come from? and
2) Am I breaking anything?
--
David Cantrell
maintenance of a module
it is usually with the blessing of the previous maintainer, so that
shouldn't be difficult most of the time.
--
David Cantrell
Urdu, right up to the moment that
they want their English, or Russian, or German, or Japanese users to
submit patches.
--
David Cantrell | London Perl Mongers Deputy Chief Heretic
It's my experience that neither users nor customers can articulate
what it is they want, nor can they evaluate it when they see it
-- Alan Cooper
ility* of using non-ascii letters in
> > identifiers, even.
> I think we already have Latin-1 in identifiers...
more's the pity.
> Let's see about UTF-8
> pugs> my $??? = 1;
> undef
> pugs> $???;
> 1
I see a sequence of
_application'. Mac::iTunes::Applescript has an obvious
prerequisite. The module Net::P0fq that I am slowly working on requires
a running copy of p0f.
--
David Cantrell
Thomas Klausner wrote:
I cannot check POD coverage because Pod::Coverage executes the code.
No it doesn't. That said, if you don't want to run the code you're
testing, you are, errm, limiting yourself rather badly.
--
David Cantrell
still using 5.6.0 with no additional modules does
> something wrong.
That too :-)
--
David Cantrell
think how on earth to objectively measure that.
--
David Cantrell
#x27;s
hard to find amongst the noise of old versions in other distributions
Personally, I would probably just the list the module as a dependency,
because that's easy for me.
Not only easier for you, better for your users.
--
David Cantrell
design of the Perl 6 language. Unfortunately an implementation does
> not yet exist, but we're working on it.
Well, Autrijus is working on it :-)
--
David Cantrell | Hero of the Information Age
It doesn't matter to me if someone else's computer is faster because
I know m
Jim Keenan wrote:
Using the standard Test::More framework, is it
possible to test whether what was printed to a
filehandle matches a predetermined string or list of
strings?
Would IO::Capture be of help here?
--
David Cantrell
H.Merijn Brand wrote:
Just only today I hit an M$Access database with a table named
`./onderw`.`"Bus"; "Taxi"; "Auto"`
My mail client inexplicably just quit. I assume because it was so
disgusted.
--
David Cantrell
e for a .t file is less than optimal, I
agree. If you have to go and touch your test file to tell it about a
change in your module, that is kinda lame.
Changing the module without adding a test for the changes is kinda lame too!
--
David Cantrell
On Tue, Jun 08, 2004 at 11:30:51AM +0100, Tim Bunce wrote:
> On Mon, Jun 07, 2004 at 10:52:32PM +0100, David Cantrell wrote:
> > But when I'm using a
> > terminal session, I have found that the only practical way of get
Mark J. Reed wrote:
On 2004-06-07 at 21:33:03, David Cantrell wrote:
This is what is so wrong about allowing unicode operators - yes, I don't
need to write them, but if some other programmer writes one I have to be
able to read it. And I can't.
Well, for one thing, just because your ema
to type and
.
This is what is so wrong about allowing unicode operators - yes, I don't
need to write them, but if some other programmer writes one I have to be
able to read it. And I can't.
--
David Cantrell | Reprobate | http://www.cantrell.org.uk/david
When a man is tir
n a package, then start
> it with "package main".
This is something that should be brought to a wider audience cos then
you won't get more people like me wandering in and asking silly
questions. I shall write something up for perlmonks tomorrow.
--
David Cantrell | Official London Perl Mongers Bad Influence
On Tue, Apr 13, 2004 at 02:27:08PM +0200, Juerd wrote:
> David Cantrell skribis 2004-04-13 13:16 (+0100):
> > Perl 6, we are promised, will try to run "legacy" code unchanged. How
> > will it spot such legacy code? Doing this reliably is a hard problem,
> > but we
ch a null-op pragma were to go into the next perl 5.8.x release
people could start preparing their existing code for perl 6 right now.
Which is surely a Good Thing. And of course if the pragma were to also
be available to download seperately from the CPAN people still using
older 5.x releases could still use it.
--
David Cantrell
On Wed, Jan 31, 2001 at 04:43:38PM -0500, Dan Sugalski wrote:
> The core's going to look big, but be small
What, like am inside-out TARDIS?
--
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/
Any technology distinguishable from magic is insufficiently advanc
it'll do what I tell it to do. This may have more to
do with me having no formal CS education but plenty of 8-bit haXX0ring
than anything else :-)
--
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/
Any technology distinguishable from magic is insufficiently advanced
ighty-nine
You are making the common mistake of assuming that your dialect of
English is correct for all English speakers. It most obviously isn't.
--
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david
The voices said it's a good day to clean my weapons.
e
One thousand eight hundred twenty one
Eighteen hundred and twenty one
As far as *I* am concerned, the middle one is wrong (although I believe it
is considered correct in some parts of the world), and whether to use the
first or the thrid form would depend on context.
--
David Cantrell | [EMAIL
64 matches
Mail list logo