perlquestion
jithoosin
Hi monks<br>i am getting "segmentation fault" when ever i use "dprofpp" in a linux machine. So to find where the error is i copied the "tmon.out" to another linux machine and ran it over there and found out that it was running properly.Could any of the monks tell me what could be the possible reason or help me in correcting the problem. One difference i found out between the 2 linux machines was the perl versions.It was 5.8.0(not working) in one and 5.8.5(working) in another<br><br>One more thing noticed was that ther segmentation fault comes when i use "use " in the perl function.But if it was the problem of some libraries then the generated "tmon.out" would not have worked in another linux machine.If i remove the "use" then then "dprofpp" doesnot generate "segFault" but it doesnot give any output.Please help me.<br><br>Thanks<br>Kiran <p><small>2005-12-27 Retitled by [davido], as per Monastery [id://341118|guidelines] <br />Original title: 'dprofpp'</small></p><br><br>After reading the first 2 replies i have given a sample code<c>use strict;
print "hello\n";
</c> Now i mean that "use strict" causes the problem. If i remove it out then there is no seg fault. If i use "use AnyModule" that is creating the problem. If i take out "use " then dprofpp will not give any output but doesnot result in seg fault