Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: how to localise a problem?

by greengaroo (Hermit)
on Nov 26, 2012 at 15:10 UTC ( #1005687=note: print w/ replies, xml ) Need Help??

in reply to how to localise a problem?

I suggest you create Unit Test scripts using Test::More. You could create different scenarios and test the functions from your modules.

The error "Argument list too long" sounds like you pass too many arguments to a function. Have you tried a grep to find where this exact error message comes from? Maybe it comes from one of the CPAN modules you are using!

If you find the source of the message, then look in your code where you call that function and put some extra validation around it.

Testing never proves the absence of faults, it only shows their presence.

Comment on Re: how to localise a problem?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2015-11-29 09:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls