Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: cpan mod test probs

by Anonymous Monk
on Nov 08, 2013 at 01:54 UTC ( #1061653=note: print w/ replies, xml ) Need Help??


in reply to cpan mod test probs

Well, for starters, you should never do this  `cpan -i mem` in code you release on cpan, especially in a test


Comment on Re: cpan mod test probs
Download Code
Re^2: cpan mod test probs
by perl-diddler (Hermit) on Nov 08, 2013 at 03:44 UTC
    Right. And you realize that the code that you cite should never be called under normal circumstances. So "cpan -i mem" is only present to compensate for extraordinary failure conditions. The test code even tries to die in lack of pre-reqs, and dying doesn't work.

    I tend to be a bit dense at times, but how does your advice about what I "should (or 'should never') do", help solve the problem so that such code would never have needed to have been written in the first place?

      Right. And you realize that the code that you cite should never be called under normal circumstances.

      The circumstances don't matter, the code should not have been pushed to cpan

      I tend to be a bit dense at times, but how does your advice about what I "should (or 'should never') do", help solve the problem so that such code would never have needed to have been written in the first place?

      It only points out another problem , it doesn't try to solve anything

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-11-27 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls