I am getting segmentation faults when I add arguments to fire off my perl
script.

This script uses a couple modules and the problem started when I created and
used another module and it seems to be intermittent as well.

When I fire off

perl -d somescript.pl arg1 arg2

it segfaults but perl -d somescript.pl
starts fine.

Earlier today, I had to comment out syntactically correct code to prevent it
from seg faulting.

Some thoughts or questions:
Is there a way to debug the seg faults.  If i run it with the perl -c flag
it compiles fine.  Is it getting confused (as I am) by the increased size of
the code or additional modules.  I believe variables in a module are scoped
to that module so there shouldn't be problems using the same variable name
in multiple modules right?

Hopefully this is enough info to justify help:-)

Thanks,
Kevin

Reply via email to