PDA

View Full Version : how do you use valgrind with a perl script?



raspberryh
August 6th, 2006, 01:52 AM
Okay, this might be a dumb question... But does anyone know how to use Valgrind with a Perl script?
I know that you can only use it on an executable. And I can't seem to find any kind of tutorial or anything online that uses a Perl script - they all use C code.
Thanks!
Heather

raspberryh
August 6th, 2006, 02:32 AM
Nevermind! I finally found the answer. You have to type
valgrind perl something.pl

raspberryh
August 6th, 2006, 02:38 AM
Nevermind I was wrong :(
That makes it debug the perl interpreter!