Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Deprecated annoyances

by tilly (Archbishop)
on Jul 11, 2005 at 15:18 UTC ( #473972=perlmeditation: print w/ replies, xml ) Need Help??

Every so often I notice that someone has managed to take care of a significant annoyance that I had with some module. For instance this morning I noticed that you can now use Exporter 'import'; and not mess with @ISA. (Which is how I think it should have been done in the first place.) One annoyance gone (though I predict that the old meme won't die anytime soon).

A couple of months ago I noticed that Module::Build::Compat supports a 'traditional' target, solving most complaints that I had about using the 'passthrough' one.

Both of these are great, but of course they do no good until I noticed that they have been fixed.

So what annoyances have the rest of you (probably belatedly) recently noticed that there are now solutions for?

Comment on Deprecated annoyances
Download Code
Re: Deprecated annoyances
by Old_Gray_Bear (Bishop) on Jul 11, 2005 at 16:15 UTC
    A few months back I started working at a shop that is using a version of Perl more recent than 5.005. (long story; short version: Legacy Code in a Banking System.) Last week I found out that I can now do lexical file-handles and I can quit mucking about with the Symbol module. Small thing, perhaps, but it makes me happy....

    ----
    I Go Back to Sleep, Now.

    OGB

Re: Deprecated annoyances
by perrin (Chancellor) on Jul 11, 2005 at 16:47 UTC
    Catalyst now supports passing args in $c->forward(). The upcoming version of Data::FormValidator has an easier way to check if the validation passed or not.
Re: Deprecated annoyances
by samtregar (Abbot) on Jul 11, 2005 at 21:25 UTC
    I recently realized that you could use $DB::single to stop the debugger at a particular line. It's so much easier than trying to feed the debugger 'b' command!

    -sam

Re: Deprecated annoyances
by adrianh (Chancellor) on Jul 11, 2005 at 23:22 UTC
    So what annoyances have the rest of you (probably belatedly) recently noticed that there are now solutions for?

    h2xs is not as bad as it used to be.

Re: Deprecated annoyances
by tlm (Prior) on Jul 15, 2005 at 20:12 UTC

    ref now returns an empty string, instead of undef, when its argument is not a reference. Hence expressions like

    ref $x eq 'CODE'
    don't produce annoying warnings in such cases.

    There's a little coding guideline lurking in there somewhere... Something like "never return undef when the empty string would be just as good."

    the lowliest monk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://473972]
Approved by atcroft
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-08-30 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls