::Dialog::X
Unix::Dialog::G
Unix::Dialog::K
If I saw those I'm not sure I'd guess what G and K stand for. There
doesn't seem to be any reason for not using their full names:
Unix::Dialog::Gnome
Unix::Dialog::KDE
And then perhaps:
Unix::Dialog::Gnome::Zenity
Smylers
to dialogue boxes, and provides a type of
backend. Learning that the particular backend in this instance is a
_dialog_ backend does not in anyway add to the knowledge about it: if it
wasn't a dialog backend then it wouldn't be under UI::Dialog::Backend.
Smylers
as
meaningful (if bytes are the unit of something then you should be able
to work out that it's a size).
- it can be used to format anything whose size or capacity is
expressed in bytes, be that a file, a disk, the computer's RAM, a
process, a scalar or anything.
Indeed.
Smylers
in the future as:
WebService::Validator::HTML::Foo # for appropriate values of 'Foo'
WebService::Validator::CSS::W3C
And if anybody writes an HTML validator that runs locally and doesn't
require web access, then of course it doesn't go under WebService.
Smylers
didn't spot? Are there any obvious problems or memory leaks?
And, of course, the name: is it appropriate? Can you think of anything
that better encapsulates that 'oh I want to inherit from one of _those_
but it isn't hash-based' feeling?
Thanks for your thoughts on this.
Smylers
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2003-10-31 10:55]:
http://search.cpan.org/perldoc?Class::FakeAttributes
This has been invented by Abigail quite a while ago and is called
inside out objects. See
http://www.perlmonks.org/index.pl?node_id=219378
Thanks
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2003-11-02 18:05]:
However, even now I know the name for the technique I don't
think it'd be appropriate to call the module
Class::InsideOutAttributes (or similar), because that is
describing the module's implementation rather than
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2003-11-03 00:40]:
... safety isn't really the point --
Wx::StaticBoxSizer can safely be inherited from,
Well, you can't safely store your own attributes in a $self hashref
provided by a superclass;
True, but that's 'normal' Perl
more descriptive of the purpose
rather than the implementation,
The purpose is to make up for not being able to use 'real' attributes
because the object isn't based on a hash-ref, so having to put them
somewhere else.
Smylers
;
print @{$hash{foo}}\n;
Hence the need for a method that always results in pushing on to the
array reference stored in the hash, regardless of whether it already has
any values in there.
Smylers
}};'
That's the kind of thing I do all the time with $self when $self is a
hash-ref, and hence the desire for attribute_list() to do something
difference when I can't use a hash-ref and am using fake, I mean ...
out-of-band, attributes instead!
Smylers
sure it definitely isn't a
set.
'The set of all the numbers of houses I've ever lived at' doesn't
contain any duplicates, even if I've lived at both 7 Argumentative
Avenue and 7 Quarrel Grove.
Smylers
in the
Date::Calc:: namespace, nobody's interfering with anybody else and the
names make it blindingly obvious which cabal each module belongs to.
Smylers
. (Some kind of intro tutorial/overview is one
posibility, but I'm hesitant to suggest combatting the problem of
overwhelming docs by adding yet more docs to them ...)
Smylers
?
Those avoid the problem for your module (Foo/CVS.pm is OK), but it makes
it awkward for anybody else ever to tag another part on the end, since
that would again require a directory called CVS/.
Smylers
, Mail::Mailer, ...
Smylers
have to come up with a test-case and ...
then I put the whole thing off for later.
Smylers
on various topics tentatively related to Perl, and
then the actual point of Cpan, the modules, gets lost among all the
ranting and bickering.
Let's get some good material written first, then worry about where to
stick it ...
Smylers
of CGI-related modules: I'd like it to put people off using CGI::Lite so
that I can stop trying to maintain it and everybody can use something
saner instead ...
Smylers
Delivered-To: mailing list [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Finding the module you want (was: New module Mail::SendEasy)
From: Simon Cozens [EMAIL PROTECTED]
Date: 11 Feb 2004 10:25:07 +
[EMAIL PROTECTED] (Smylers) writes:
Let's get some good material written first
Rocco Caputo writes:
On Tue, Feb 10, 2004 at 08:19:14PM +, Smylers wrote:
Similarly an author doesn't need to understand all of the problems,
just so long as they state exactly what they are looking at,
preferably stated upfront. So the article starts by saying I'm
looking
David Manura writes:
Smylers wrote:
But yes, as the CGI::Lite maintainer I do have an interest in a
review of CGI-related modules: I'd like it to put people off using
CGI::Lite so that I can stop trying to maintain it and everybody
can use something saner instead ...
Of course
/group/perl.modules/28606
Smylers
many modules which exist to provide an interface to a
particular website (banks, URL-shortners, search engines).
Smylers
because it uses JavaScript
for its implementation would be like putting all object-oriented modules
in the Class:: namespace, or saying that Net::SSH::Perl should be in the
Perl:: namespace becase it's implemented in Perl, or ...
Smylers
something
like the above message when I saw your original mail, but it took me a
couple of days to find the time to type it out!)
Smylers
.
Smylers
.
But this still happened without warning, and would be unexpected to most
users. Several people, Randal included, found this intrusive and
unacceptable.
I see that a few weeks ago the author removed all phone-home behaviour,
so even this is no longer an issue.
Smylers
with Oracle without him having to do anything with
it at all.
Almost certainly Wheelerish isn't the best name here, but without
knowing what the features in question are I couldn't think of anything
more specific.
Smylers
Ken Williams writes:
I think we could get far more mileage out of tuning the search engine
better for the needs of perl-module searching,
You speak great sense. Now it's back to Simon's point about the source
code for it not seeming to be available.
Smylers, I think your proposal
).
Smylers
for 'Wily' would be reasonable.
Smylers
with theirs.
Smylers
://www.perl.com/pub/a/2004/06/10/email.html
Smylers
in having a new server with such an old
perl on it. But even several years after Perl 6's release I don't think
it'll be unusual to have Perl 5 around.
Smylers
Christopher Hicks writes:
On Tue, 26 Oct 2004, Smylers wrote:
... DBIx:: should be for things that are generally usable with DBI,
where the I is independent ...
I agree with Chris much more than Smylers here, but if we go along
with Smylers perspective for a minute then we need /some
, if not being terrible is now my
criteria for naming?
Smylers
appreciated.
Smylers
there isn't an obvious name for what it
represents; that is often a red flag that such an entity is representing
an artificial entity.
Smylers
line and in any class
methods, often just a constructor.
GST can mean many things (try Googling for it) -- even within the
context of Gnome it has another meaning:
http://www.gnome.org/projects/gst/
Smylers
is stored, we still
have to address Robert's original points about the data itself.
Smylers
Chris Josephes writes:
Any idea of what it would take to get a password reset on a CPAN
account?
Mail modules@perl.org and ask what you can do to persuade one of the
people there that you are who you say you are.
Smylers
Philippe 'BooK' Bruhat writes:
Le mercredi 06 avril 2005 à 12:11, Smylers écrivait:
Also PropertySet makes it sounds that it _sets_ properties,
whereas you said your module reads them.
It all depends if you hear set as a noun or as a verb, doesn't it?
Yes, but it's quite common
Rhesa Rozendaal writes:
Smylers wrote:
my %opts = (countername = $countername, @_);
[...]
bless \%opts, $pkg;
But supplying the default values for each individual option means
this technique doesn't avoid having a line listing each option -- it
just saves having to mention
previously, but concatenating and
interpolating strings, awkwardly and non-cross-platformily; so it's a
definite improvement.)
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
there are other people also reading that feed who did
likewise and then actually went on to use the modules.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Sam Vilain writes:
Smylers wrote:
Sam (or any other IO::All users reading this), what's your
experience of IO::All? How much effort has it saved you? Does it
make your code look
Hi Sam -- thanks for taking the time to answer.
I've only just begun to reap the benefits of it.
After
Matt Sergeant writes:
On 22 Aug 2005, at 09:55, Smylers wrote:
... there seems to be something odd about the Apache-Reload-0.07
distribution. I first noticed that my usual way of jumping to a
module's documentation on the Cpan Search website doesn't work:
http://search.cpan.org
for confirming
it.
I've just scheduled MSERGEANT/Apache-Reload-0.07.tar.gz for
reindexing ...
Thank you!
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
it from using PowerSet in its
name.
(I rule out Algorithm::*, since the you're not actually supposed to
care how it does its business, only that it does it).
That's a good point, and I completely agree with you on it.
Smylers
--
May God bless us with enough foolishness to believe that we can
-- enough of a clue to know whether I'm
interested in investigating the module further if it I see it in the
'recent uploads' list.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
that HTML is
its dominant usage.
CSS has recently been used to format a book using Yes Logic's Prince ...
but HTML was still used for the mark-up.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2005-12-02 22:10]:
Eric Wilhelm writes:
I'm working on CAD::DXF for now,
Cad is a well-known acronym. I have no use for anything
cad-related in my life at the moment, so I know that I can
safely ignore that module
! If some of the rest of us (including a modules' author) are
fussy it doesn't make module names worse for you ...
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Austin Schutz writes:
On Sat, Dec 03, 2005 at 08:30:20AM +, Smylers wrote:
[Austin wrote:]
Do I care what it's called?
A large search results listing is one such place. You want to be able
to pick out the potentially useful modules from the list, so having
their names
some of them are to do with file-types), rather
than all the modules dealing with file-types.
Smylers
--
May God bless us with enough foolishness to believe that we can make a
difference in this world, so that we can do what others claim cannot be done.
Eric Wilhelm writes:
# from Smylers
# on Saturday 03 December 2005 03:41 am:
That sounds tedious when written down like this, but basically it
just involves holding down Ctrl and pressing P and X a few times.
Neat. My vim does it all at once if the syntax mode is perl :-)
Ah, so
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2005-12-04 03:35]:
That's because the default ftplugin/perl.vim sets iskeyword to
include the colon, so that all gets treated as a single word.
Until now I hadn't seen a disadvantage of removing that colon,
but now you've pointed
.
It is harder for a coder to enter style-heaven than it is to fit a
CamelHump through the eye of the community?
Smylers
to many modules, so it isn't as reasonable for one particular templating
module to snaffle that entire top-level namespace from everybody else.
Smylers
namespace into lots of
separate namespaces for each of the niches.
If Module:: is what's being used then use it, and don't worry that
sometimes packages don't contain any modules.
Smylers
this shouldn't mess things up in automated
environments.
Smylers
where the user supplied a hash surely you could remember
this and return the results as a hash too?
Smylers
to
know.
Smylers
by
default, so you don't need to do anything special to get it.
Smylers
to the thread, making sure you
include the entire list, and see what happens.
Smylers
volunteers at once.
Smylers
,
That was discussed on this list soon after it launched. My memory is
that we decided that it was OK for AnnoCpan to alert an author the first
time a comment is made on her module, and then give the option of
subscribing to future alerts.
Smylers
you are doing will be appropriate
in other countries?
Something like Finance::Mortgages::ZZ may be more appropriate, where
ZZ is your country code.
Smylers
Chris writes:
On Wed, 1 Nov 2006, Smylers wrote:
Dmitri Tikhonov writes:
I intend to write a new module, Finance::MortgageCalculator, with the
express purpose of calculating mortgages. Does anyone foresee any
problem with the name?
Which country's mortgage markets are you
know this is a Perl
library that does something, it doesn't really add anything.
Smylers
!
Smylers
Darek Dwornikowski writes:
Dave Rolsky napisał(a):
On Tue, 2 Jan 2007, Alberto Simões wrote:
Accordingly with http://search.cpan.org/~simonflk/, Simon last
release date for all modules is 25 Mar 2005. I would say the best
approach is to fork it...
In this case, if the author
. I'm reading this on the
Module Authors mailing list, where Dariusz's original message had these
headers:
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: module-authors@perl.org, modules@perl.org
Smylers
trying to solve here. But
that's largely irrelevant -- because however good your idea is, there's
bound to be somebody in the Perl community questioning it or objecting
to it! So don't wait for approval: just do it, whatever it is, then
show folks.
Good luck!
Smylers
kind of problem: notes is very generic (like other or
misc), such that it's arbitrary which is a 'proper' field and which is
a 'notes' field.
Can't we just start using cc-author as a field, then if it takes off get
it blessed as part of the official spec?
Smylers
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2007-03-01 21:45]:
Can't we just start using cc-author as a field, then if it takes off
get it blessed as part of the official spec?
Then how do you tell whether `bastract` is a typo or extension
field?
You can't. But equally you
arbitrary
which headers have X- and which don't, and very hard to remember.
Smylers
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2007-03-02 22:55]:
A. Pagaltzis writes:
* Smylers [EMAIL PROTECTED] [2007-03-01 21:45]:
... how do you tell whether `bastract` is a typo or extension
field?
You can't. But equally you can't tell if hints:
test-reporter
module at all, it seems). Those using Module::Build still
get the Build.PL, so shouldn't be any worse off than they are at the
moment.
Smylers
to redo your
distribution.
Which for some people is fine, and, on balance, their prefered way of
working. But it doesn't suit everybody.
Smylers
/perl595delta.pod#Module_changes
Smylers
, '... and the object it returns';
Those BEGIN blocks really annoy the hell out of me at times :(
Well don't have them then -- put the assignment in the use statement,
which is run at BEGIN time anyway:
use Test::More tests = 1;
my $CLASS;
use ok $CLASS = 'DateTime';
Smylers
to be associated with, but then so do most Cpan namespaces --
I'm sure you won't be tainted by them!
Or if you want Lib::, then Lib::memcached makes the most sense.
Smylers
://testers.cpan.org/author/ROODE.rss
Smylers
, I've got this XML data -- I know, a plist would be a
good way of handling that).
Whereas if it's purpose is to handle a particular Apple format (I've
got this plist; how can I deal with that in Perl?), then that should be
what is emphasized in the name.
Smylers
them.
Smylers
'; # Knows to look in inc/bundled/
The general-purpose logic for doing version comparisons lives in latest.pm .
But what if the bundled version of latest.pm is buggy and I already have
a later latest.pm installed on my system? That will use the wrong one!!
Smylers
::Recognizer. Anyone have any better ideas?
Barcode::OCR?
Barcode::Decode or ::Decoder?
Barcode::Interpreter?
Barcode::Read?
Barcode::Image2Numbers?
Smylers
Keith Ivey writes:
(It seems like object-oriented modules should have names that are
nouns,
I agree.
(The non-noun suggestions were in case your module isn't
object oriented.)
Smylers
of those names sound bad -- they're all pretty self-
explanatory, so any of them would do.
Smylers
guessed; apologies if it came across as overly pedantic.
But in some ways module names _are_ code, and I've previously
encountered users on case-insensitive file-systems writing code with
module names all lower-case -- which runs for them, but not elsewhere --
so I thought it worth checking.
Smylers
Ovid writes:
If these corpuses (corpi?)
Corpora (similar to opus - opera).
Smylers
.
Though that can be irritating if your install hangs at that point,
waiting for you to provide a password. An alternative is to
pre-authenticate sudo with the -v flag, so that even the first install
will become root without prompting:
% sudo -v cpan Acme::MetaSyntactic
Smylers
--
Watch
Perl way of
spelling it:
% perl -E say ref qr//
It's also a superset of the spelling 'Regex', so searching for 'Regex'
should still find it, whereas searching for 'Regexp' wouldn't match
'Regex'.
On the downside, 'Regexp' is considerably harder to say than 'Regex'.)
Smylers
Bill Ward writes:
On Wed, Dec 14, 2011 at 3:46 AM, Smylers smyl...@stripey.com wrote:
Bill Ward writes:
File::RegexMatch?
I think having ::Find:: in there would be better, so that it's
immediately obvious that this module performs a similar task to the
other modules already
have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there any
lines mentioning sudo in there?
Smylers
--
http://twitter.com/Smylers2
Shawn H Corey writes:
On 12-07-19 11:34 AM, Smylers wrote:
Do you have a file called ~/.cpan/CPAN/MyConfig.pm? If so, are there
any lines mentioning sudo in there?
No, none.
Well that rules out one possibility, so we must be getting closer!
Please can you run:
$ cpan -J | grep sudo
Shawn H Corey writes:
On 12-07-19 01:07 PM, Smylers wrote:
Please can you run:
$ cpan -J | grep sudo
'mbuild_install_build_command' = 'sudo ./Build',
'make_install_make_command' = 'sudo /usr/bin/make',
Great, so we've found where sudo
to come up with a filename which
makes both a good command name for users and works well as module name
in a use line by something else which wants to use the module.
Cheers
Smylers
--
http://twitter.com/Smylers2
1 - 100 of 119 matches
Mail list logo