RE: DFA::StateMachine

2004-12-15 Thread Ovid
around DFA::Simple. http://use.perl.org/~Ovid/journal/22298). Once this solution was in place, adding new rules was trivial, but DFA::Simple is a curious beast and was causing us problems. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid

Re: What name for a printer status supplies module?

2004-12-18 Thread Ovid
a class just for the returned data, one call always use the excellent Hash::AsObject (http://search.cpan.org/~nkuitse/Hash-AsObject-0.05/) module. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org

Re: What name for a printer status supplies module?

2004-12-18 Thread Ovid
, not the merits of sanity checking. If so, it just falls back to the original author to decide. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http

Interface design question

2004-12-20 Thread Ovid
Hi All, By now, some of you may have been playing with FSA::Rules. I've added GraphViz support to generate state machine graphs on the fly. And example can be found at http://users.easystreet.com/ovid/images/pg_rules.png To do this, here's how a state is defined: installed = { do = sub

Re: detecting the invoking perl

2004-12-29 Thread Ovid
author is still finding the shebang line is wrong, I would suggest either they ran Makefile.PL with the wrong Perl or there is a bug in their ExtUtils::MakeMaker setup. Does this answer the question? Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy

Module naming advice

2005-01-04 Thread Ovid
name? Is aliased better? Am I overlooking anything? Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid

Re: Module naming advice

2005-01-04 Thread Ovid
--- Kurt Starsinic [EMAIL PROTECTED] wrote: On Tue, 4 Jan 2005 12:49:16 -0800 (PST), Ovid [EMAIL PROTECTED] wrote: I'm about to release Aliased to the CPAN. [ . . . . ] Basically, when you have long package names, it can be cumbersome to retype the package name all the time

Re: Module naming advice

2005-01-04 Thread Ovid
have a single import item, you can do this: use aka 'Really::Long::Module::Name' import = 'thingy'; Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming

Re: Module naming advice

2005-01-04 Thread Ovid
. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

aka.pm (was: Module naming advice)

2005-01-04 Thread Ovid
, so I think this is good to go. I'll shoot another email to that list and barring some last minute objection, I hope to have this uploaded tomorrow. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http

Re: Module Name: Net::Lite::FTP

2005-01-05 Thread Ovid
get it wrong. In fact, I got it wrong until Lincoln Stein pointed out my error :) Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http

I named it aliased.pm

2005-01-06 Thread Ovid
class methods # on the alias: my $new_name = Name-new; my $old_name = Name-search($id); # etc. Thanks for all of the suggestions. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org

Re: I named it aliased.pm

2005-01-07 Thread Ovid
how is this different from X. See http://use.perl.org/~Ovid/journal/22615 for another example. In this case, I am explicitly *not* aliasing typeglobs. I don't want to mess with another namespace. Package::Alias won't alias over a different namespace if you don't want it to (but you can force

Re: CPAN::Forum

2005-02-02 Thread Ovid
on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

URLs to Modules

2005-02-07 Thread Ovid
too many results: http://search.cpan.org/search?query=${MODULE}mode=module I really feel like I should know this (grr ...) Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http

Re: RFC: Getopt::Modern

2005-06-17 Thread Ovid
support what Eric wants. There's been an awful lot of energy spent in this thread over something which most don't see as an issue. I'm still trying to figure out why it's carried on this long. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up

Re: Looking for Dominic Mitchell (author of Test::XML)

2005-07-19 Thread Ovid
--- A. Pagaltzis [EMAIL PROTECTED] wrote: I conversed with him using [EMAIL PROTECTED] a while back. This is the address listed in his use.perl account, “dom2.” You should have better luck there. Thanks. Email sent. Cheers, Ovid -- If this message is a response to a question

Re: Looking for Autrijus Tang

2005-07-25 Thread Ovid
email address did you use? Try [EMAIL PROTECTED] Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Perl6 goes where?

2005-07-27 Thread Ovid
System named Kontent. Where does he put it? On the CPAN? Not sure if that will fly. Yeah, he can probably include it with Pugs, but it looks like we finally need an answer to this. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions

Re: Perl6 goes where?

2005-07-27 Thread Ovid
resource, sooner or later we need to get the CPAN/Perl6 thing squared aware. Cheers, Ovid (sourceforget was a typo, but I liked it so much I left it. I suspect I'm not the first to have this stroke of genius) -- If this message is a response to a question on a mailing list, please send follow up

Re: Perl6 goes where?

2005-07-27 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: It's the former. While sourceforget if a viable resource, sooner or later we need to get the CPAN/Perl6 thing squared aware. squared aware? What the hell is that? *squared away*, damn it. *squared away*. Sheesh. Would someone please come over and break

Re: Perl6 goes where?

2005-07-28 Thread Ovid
on (we hope.) Then at least there's a chance of them figuring out how to resolve the problem. So far, putting stuff in the indexer is the best idea I've heard. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web

Hash::HasKeys

2005-08-12 Thread Ovid
module to the CPAN, but I rewrite this code *all* the time (and always forget about die if extra_keys()). Before I embarrass myself by writing and uploading something so simple and special-purpose, tell me there's something out there already ... Cheers, Ovid -- If this message is a response

Re: Hash::HasKeys

2005-08-12 Thread Ovid
; # ... } Yes, but you're altering the hash passed in by reference. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Hash::HasKeys

2005-08-13 Thread Ovid
people can take whatever action they want? And list the offending data? Yes, that thought had occurred to me, too, but only so long as it's simple. I just want something that does this one thing well. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send

Re: Hash::HasKeys

2005-08-14 Thread Ovid
not make it clear I can lock a non-existing key and later assign a value. I suppose the docs *could* be read that way, but if the docs explicitly said that the restricted keys may contain keys not already present in the hash, I'd have understood. Thanks! Cheers, Ovid -- If this message

Re: Hash::HasKeys

2005-08-14 Thread Ovid
. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: RFC - Test::Stupid module

2005-08-22 Thread Ovid
useless for anyone else. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Making RPMs out of CPAN Modules (namely XML::Feed) Automatically

2005-08-26 Thread Ovid
--- Shlomi Fish [EMAIL PROTECTED] wrote: 2. Ovid - http://search.cpan.org/dist/Ovid/ - Slightly less updated to handle all the latest CPAN technologies (Module::*, ExtUtils::*, etc.). But does recursion. FYI: Just as POE has nothing to do with me (Curtis Poe), Ovid also has nothing to do

Re: Another CPANTS/pod_coverage.t rant - FULL VERSION

2005-11-14 Thread Ovid
are detailed in http://perlmonks.org/index.pl?node_id=458282 Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Module naming mailing list? Was: Re: New module: FLV file parsing

2005-12-03 Thread Ovid
already a module which does that or maybe it should do X instead. Then that conversation would legitimately jump back here and would eventually jump to the naming list ... over and over again. That would be even more tedious (hard to believe, I know). Cheers, Ovid -- If this message is a response

RFC strict::can

2005-12-04 Thread Ovid
strict::can is a module which, if used, imports a can method into your namespace. This version of can() will not report imported helper functions or private methods. Full docs below. Comments and suggestions welcome. Cheers, Ovid -- NAME strict::can - Make can() ignore private methods

Re: RFC strict::can

2005-12-04 Thread Ovid
whereby I was exporting methods which should not have been exported. Also, if one is routinely in the habit of checking class capabilities rather than class types, this can be quite useful. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up

Re: RFC strict::can

2005-12-05 Thread Ovid
useful and safe as the nomenclature might suggest. I agree that the name is ugly. I only used that after I saw Sean Burke's strict::ModuleName. Namespace suggestions are quite welcome. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up

Re: RFC strict::can -- misunderstandings

2005-12-07 Thread Ovid
, though. Class::Should? Ugh. That doesn't quite fit either. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: New Module Proposal - Math::Interval

2006-02-27 Thread Ovid
are interested, post it to the CPAN and ask for feedback. I'd also strongly recommend that you post this to Perlmonks. There are one or two mathematicians running around there. (Oh, and tell Wren I said hi :) Cheers, Ovid -- If this message is a response to a question on a mailing list, please send

RFC: Class::CGI

2006-04-07 Thread Ovid
::CGI instances in case you're working in a persistent environment and you don't want all of your code to use the same handlers for the same parameters. Comments, thoughts and suggestions are welcome. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send

Re: Fwd: Indexing for AI-Prolog-0.735_01?

2006-08-04 Thread Ovid
://search.cpan.org/search?query=AI%3A%3APrologmode=all). By the way, thanks for working on this. I appreciate it. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid

Re: Indexing for AI-Prolog-0.735_01?

2006-08-05 Thread Ovid
- Original Message From: Ken Williams [EMAIL PROTECTED] BTW, you might want to add a see also in the AI::Prolog docs for the SWI-Prolog wrapper? Probably a good idea. It's recommended in AI::Prolog::Article, but that's about it. Cheers, Ovid -- If this message is a response

Give up your modules!

2006-08-14 Thread Ovid
to constantly upgrade and maintain modules, but if it's something widely used and you don't have time for it, isn't the responsible thing to find a way to get those bug fixes out there? Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid

Re: Give up your modules!

2006-08-15 Thread Ovid
- Original Message From: Jonathan Rockway [EMAIL PROTECTED] To: James E Keenan [EMAIL PROTECTED] Cc: module-authors@perl.org; Ovid [EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 12:50:47 AM Subject: Re: Give up your modules! Is there software that needs to be written? I could

Re: Give up your modules!

2006-08-15 Thread Ovid
- Original Message From: Gabor Szabo [EMAIL PROTECTED] I guess such thing should be part of CPANTS. ++ -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Give up your modules!

2006-08-16 Thread Ovid
this. Of course, you could always just offer co-maintainership via PAUSE if you don't want to give them up completely :) I know some authors have had a lot of success with similar announcements on Perlmonks or even use.perl. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks

Re: Give up your modules!

2006-08-23 Thread Ovid
language. Heck, if I found out a C programmer hacked out a quick 50 line program to solve a problem, should I just dismiss that program as a script? Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Give up your modules!

2006-08-24 Thread Ovid
to naming and shaming). That list should be left as a *private* exercise for the reader. Cheers, Ovid

Re: Integrating Test::Run with Module::Build

2006-09-11 Thread Ovid
-todo_failed; The above assumes that $load_parser and $lex_parser are parsers which have already finished parsing. You can also look at the various tprove* files in examples/ for more usage. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http

Attributes in Class::Trait

2006-09-21 Thread Ovid
if there are any pitfalls here I should be aware of? Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Looking for David Shultz

2006-09-28 Thread Ovid
Hi Peter, I know a David Shultz and I think he has an interest in that area. Whether he's the same David, though, I've no idea. However, I just dropped him an email and listed your name and email address in it. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl

Re: no contact with author

2007-01-02 Thread Ovid
it's worth. More than once I've begged people for patches, only to be ignored. Plenty of other authors have had the same experience. Maintaining modules can be frustrating. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid

CGI::Simple

2007-01-09 Thread Ovid
will not be fixed. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: CGI::Simple

2007-01-10 Thread Ovid
simply feared we'd have another module go down in oblivion :) Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Looking for a module name

2007-01-18 Thread Ovid
::NowYouUnderstandWhyYouNeedToFixTheHorribleMethodNamesBeforeYouGoBlindYouSillyGit. Others are free to steal that module name if I never get around to writing it :) Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Another Bantown License

2007-02-11 Thread Ovid
is a crime. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Another non-free license - PerlBuildSystem

2007-02-21 Thread Ovid
Being an *extremely* political creature, I'm sorely tempted to wade into this mess, but I won't. Can we just agree to stick to the license's suitability for the CPAN? Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid

Re: Module name - smoke testing automation

2007-04-15 Thread Ovid
, what's your cross-platform way of figuring out the full path to the svn executable? Just doing system('svn', 'info', $uri) can get you an Insecure $ENV{PATH} (or something like that) when running in taint mode. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl

Re: Module name - smoke testing automation

2007-04-16 Thread Ovid
$sep = $Config{path_sep}; join $sep, ( map { /(.*)/ } grep { stat($_) !( stat($_)-mode S_IWOTH ) } grep { file_name_is_absolute($_) } split( /\Q$sep/, $ENV{PATH} ), ); }; Cheers, Ovid -- Buy the book -- http

Re: Module name - smoke testing automation

2007-04-16 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: $ENV{PATH} = do { my $sep = $Config{path_sep}; join $sep, ( map { /(.*)/ } grep { stat($_) !( stat($_)-mode S_IWOTH ) } grep { file_name_is_absolute($_) } split( /\Q$sep/, $ENV

Re: Module name - smoke testing automation

2007-04-16 Thread Ovid
`. Better just use a lexical variable. Thanks for this and the other comments. Great points. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Test failures - I can't work out why

2007-05-02 Thread Ovid
reels. Jamie Zawicky started a night club and Randal Schwartz has DJd at them. Many of us are members of the Perlmonks Monastery. I guess we've all lost that abstraction layer ... :) Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com

Re: Test failures - I can't work out why

2007-05-02 Thread Ovid
--- Keith Ivey [EMAIL PROTECTED] wrote: A. Pagaltzis wrote: * Ovid [EMAIL PROTECTED] [2007-05-02 12:40]: Jamie Zawicky Zawinsky. Zawinski, actually -- or is it Zawodny? Nope. Aristotle's right. I definitely meant Zawinsky. He runs the DNA Lounge (http://www.dnalounge.com

Re: Test failures - I can't work out why

2007-05-02 Thread Ovid
--- Keith Ivey [EMAIL PROTECTED] wrote: Yeah, Zawodny was a joke. But JWZ is still Zawinski, not Zawinsky. Gah. Kill me now, please. -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: LISP module from CPAN

2007-05-10 Thread Ovid
not read the brilliant rebuttal to the Hackers and Painters article: http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Marcus Thiesen's modules

2007-06-04 Thread Ovid
/cpan-faq.html#How_maintain_module), but Marcus has been quite helpful in explaining that he doesn't have the time for this. Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: Module::Install reporting ARRAY(0x82c3dd8) ...missing

2007-06-18 Thread Ovid
, 'Module::Signature' = 0.21, 'version' = 0.661, },The Module::Build::Authoring docs specifically states that this key is for versions of modules that are recommended to provide enhanced functionality. Cheers, Ovid

Re: Please let me have co-maintainership of XML-SemanticDiff

2007-07-04 Thread Ovid
licensing. (This is not an invitation to defend ANY other license. I have too many things to do and I don't want to be burdened with someone else's pet crusade) Cheers, Ovid -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Re: what's the right way to test a source filter?

2007-08-08 Thread Ovid
and method signatures and this makes using it with tests trivial. If it might impact the test code or you want to minimize this risk then have the filtered code in t/lib or t/data and have your test code 'use' it, thus ensuring a clean separation. Cheers, Ovid -- Buy the book - http://www.oreilly.com

Re: How do I express a dependency on a Perl version?

2007-08-13 Thread Ovid
--- David Golden [EMAIL PROTECTED] wrote: In Build.PL, add perl to the requires list. In Makefile.PL, add require 5.008 to the top of the Makefile.PL Out of curiosity, why is require 5.008 not a suitable option for Build.PL? Does it track this as metadata and report on it? Cheers, Ovid

Re: Module Proposal: Package::Data::Inheritable

2007-09-04 Thread Ovid
to worry about things. Later, if you find your universe needs to calculate the value of pi (presumably by making an RPC call to another universe), you still have a nice method encapsulating this and don't have to change the public interface. Cheers, Ovid -- Buy the book - http://www.oreilly.com

Re: Module Proposal: Package::Data::Inheritable

2007-09-04 Thread Ovid
, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/

Re: Module Proposal: Package::Data::Inheritable

2007-09-04 Thread Ovid
then. The downside significantly less than I thought. Feel free to disregard a lot of what I said :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog

Re: Class::Dataset

2007-09-20 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: I want a generic dataset reporting tool which allows me to: * Specify a raw attribute to be rendered * Specify virtual attributes to be calculated * Validates that added records match attributes * Optionally accepts a TT template for custom

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Ovid
--- chromatic [EMAIL PROTECTED] wrote: On Wednesday 19 September 2007 22:46:19 Ovid wrote: This has happened a couple of times now. Why don't you use release devel versions so that these issues become less serious in the future? In your experience, do devel versions get the kind

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Ovid
release devel versions so that these issues become less serious in the future? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http

Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)

2007-10-08 Thread Ovid
'. Would it be worth combining the two? use My::Enterprise::Framework; use relative -aliased = qw(Customer Report); # instead of: # my $customer = My::Enterprise::Framework::Customer-new($id); # use: my $customer = Customer-new($id); http://search.cpan.org/dist/aliased/ Cheers, Ovid

Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)

2007-10-09 Thread Ovid
scoped, but I don't *think* there is problem there. Thanks for a nice module! Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http

Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)

2007-10-09 Thread Ovid
. #!/usr/bin/perl -l use strict; use warnings; use Devel::BeginLift qw(require); require Data::Dumper; BEGIN { no warnings 'once'; print $Data::Dumper::Indent; } Seems to have no impact on require at all. I suspect that's because it's not a subroutine. Cheers, Ovid

(OT) Re: S/SA/SAPER/relative-0.02.tar.gz (feature request)

2007-10-09 Thread Ovid
BEGIN blocks really annoy the hell out of me at times :( Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/

Re: lambda - a shortcut for sub {...}

2007-10-11 Thread Ovid
--- Eric Wilhelm [EMAIL PROTECTED] wrote: http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm Combined with that vim shortcut, this is just too cool :) I'd probably have put it in the Acme:: namespace, though. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog

Re: lambda - a shortcut for an apology

2007-10-11 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: Well, if you want to use it in your own code and your work's code, that's fine (because I'm sure you find typing CONTROL-SHIFT-EL so much easier than sub {} :) but if it shows up in your CPAN modules, you might get a few complaints since this sugar, while

Re: lambda - a shortcut for sub {...}

2007-10-11 Thread Ovid
--- Eric Wilhelm [EMAIL PROTECTED] wrote: And why do we have an 'eq' operator instead of 'equals' ? IMO, shortcuts for typing long things will lead us to Eclipse. lambda - a shortcut for sub {...} my $code = #955; {...}; # instead of sub {...} ;) Cheers, Ovid -- Buy the book

Re: distributed/centralized META.yml data

2007-10-30 Thread Ovid
database work, but I won't :) Frankly, I'd suggest waiting a while before pulling the trigger and then if nothing manifests (which I'm guessing it won't), then go ahead. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-12-07 Thread Ovid
that he'd write it differently today), we're largely stuck with it for legacy issues. Inertia is not the same thing success. Cheers, Ovid * I'm an ex-COBOL programmer and I know exactly what I'm talking about here. -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http

Installing tarballs with CPAN.pm

2007-12-19 Thread Ovid
. Is there a way to do this that I just haven't seen in the docs? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/

Re: Installing tarballs with CPAN.pm

2007-12-19 Thread Ovid
--- jonasbn [EMAIL PROTECTED] wrote: Hi Ovid, We need what you describe, I really like the idea. An alternative solution for now might be to stick the tar-ball in your mini-cpan mirror if you have one. Actually, someone on Perlmonks just pointed me to a section of the docs I missed

EUMM and Module::Build installations - Oh God, Help!

2007-12-21 Thread Ovid
will properly configure CPAN::Config to give us fine-grained control over all of this? Is there something I've missed in the above? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius

Re: EUMM and Module::Build installations - Oh God, Help!

2007-12-21 Thread Ovid
-base'. There's some short term pain there, but in the long run, it seems like a win. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http

Re: EUMM and Module::Build installations - Oh God, Help!

2007-12-23 Thread Ovid
reorganize all of our dependencies and hope that nothing broke. As note, we went with the reorganization, despite other useful suggestions from here. Going the 'INSTALL_BASE' route was a one-time pain (we hope :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI

Re: Depending on external tools (2)

2008-02-27 Thread Ovid
sufficient permissions, etc. Might take a bit of getting used to, but it's pretty damned powerful. You can see an example of a graphed version of that state machine in Theory's journal: http://justatheory.com/computers/programming/perl/fsa_rules_graph_improved.html Cheers, Ovid -- Buy the book - http

Re: Andy differentiation

2008-06-19 Thread Ovid
--- David Nicol [EMAIL PROTECTED] wrote: Armstrong: Hexten, London. Actually, Cumbria, just south of Scotland. Not London :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org

Exporter::Safe?

2008-06-20 Thread Ovid
::Most plan = 3, '+set'; Are there better strategies? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/

Re: Exporter::Safe?

2008-06-20 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: I'm trying to think of the best way to deal with this. My first thought is to create a drop in replacement for Exporter which will not export a function if caller-can($function) *unless* the person explicitly lists it in the import list with a unary plus

Re: Exporter::Safe?

2008-06-21 Thread Ovid
). Though I'm rather interested in this take on the idea. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog- http://publius-ovidius.livejournal.com/ Tech blog- http://use.perl.org/~Ovid/journal/ Official Perl 6 Wiki - http

Re: Proposal: Test::Refcount

2008-07-15 Thread Ovid
about B::svref_2object call let alone the REFCNT parameter. ++ The B modules are incredibly powerful, poorly documented pieces of crap. They may be great, but without documentation on how to use that speedboat, it's so much scrap metal. Cheers, Ovid -- Buy the book - http

Re: Proposal: Test::Refcount

2008-07-15 Thread Ovid
I'd vote for the wrapper. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: Exporter::Safe?

2008-07-21 Thread Ovid
--- On Sat, 19/7/08, Bill Ward [EMAIL PROTECTED] wrote: I can't think of any reason you would want to use an imported subroutine as an object method. Class::Trait Moose::Role mixin Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http

Re: Need help improving my Kwalitee

2008-07-23 Thread Ovid
, they're a nightmare for EMM[2] This has now led to others building competing systems which support different features and people are falling back to EMM as safe, but if I have complex build needs, it's anything but :( Cheers, Ovid 1. 'PREFIX', for example, has been the bane of many developers who

use Test::More no_plan = $plan;

2008-09-08 Thread Ovid
no_plan = 1; I've recommended that we warn instead of croak as I don't know how widespread this problem is (I'd just fix it, but I don't have external Subversion access at work). I expect we'll fix this, but for the time being, please don't use 'no_plan = $plan' in your tests. Cheers, Ovid -- Buy

Class::Sniff - Find code smells in class hierarchies

2009-02-01 Thread Ovid
I'm sure I'll add more later, but for now, I've just uploaded Class::Sniff to the CPAN and it's also on github (http://github.com/Ovid/class--sniff/tree/master). If anyone wants to bang on it, that would be great. I'd be interested to know if it works on 'real' code :) my $sniff = Class

Re: Perl Critic and (honest) hash references

2009-02-18 Thread Ovid
heavyweight at times, really. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: ARGH! (was FW: Perl Critic and (honest) hash references)

2009-02-18 Thread Ovid
and have fewer gotchas. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

  1   2   >