July 04, 2008, 23:52:29
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Please support SEO4smf further development donating
here
or use paypal button from left menu.
Home
Forum
Help
Search
Directory
Calendar
Login
Register
News
Please support SEO4smf further development donating
here
or use paypal button from left menu.
IT Resources
Recover Deleted Files
Php Hosting
Hot Wallpapers
Free Articles
Buy Cheap Ipod
PDF to Doc Converter
Internet Eraser
Linux web hosting
DoFollow Sites
Movie Reviews
Webmaster's Talks !
>
Forum
>
Programming
>
General Coding
>
Perl
>
Debugging Perl
Pages: [
1
]
« previous
next »
Print
Author
Topic:
Debugging Perl
(Read 1345 times)
0 Members and 1 Guest are viewing this topic.
xulescu
Full Member
Points: 8
Offline
Posts: 245
Debugging Perl
«
on:
August 02, 2006, 21:07:42 »
How can I debug perl programs ? I have some sources from someone else and I need to see why are not working anymore ...
Thanks
Logged
Tracking Deleted Domains, Link Popularity and more ...
TheGodFather
Administrator
Hero Member
Points: 202
Offline
Posts: 2570
Re: Debugging Perl
«
Reply #1 on:
August 02, 2006, 21:15:29 »
add in your source :
use diagnostics;
use warnings;
or add -w to your perl interpreter or -W for all warnings
This are just to see warnings ... but it can help
Regards
Logged
█
Deleted Domains
█
Hostmaster Web Tools
█
Webmaster Web Tools
sintex
Jr. Member
Points: 7
Offline
Posts: 96
Re: Debugging Perl
«
Reply #2 on:
August 02, 2006, 21:32:35 »
Hi,
Just try: perl -d program.pl
or install through cpan the Tk Perl debuger (Devel::ptkdb debugger)
Code:
perl -MCPAN -e'install Tk'
perl -MCPAN -e'install Devel::ptkdb'
and to debug
Code:
perl -d:ptkdb bug.pl bug.pl
Have a nice day
«
Last Edit: August 02, 2006, 23:54:18 by TheGodFather
»
Logged
xulescu
Full Member
Points: 8
Offline
Posts: 245
Re: Debugging Perl
«
Reply #3 on:
August 03, 2006, 16:50:53 »
Thanks ... I will try that. What is Cpan ?
Logged
Tracking Deleted Domains, Link Popularity and more ...
TheGodFather
Administrator
Hero Member
Points: 202
Offline
Posts: 2570
Re: Debugging Perl
«
Reply #4 on:
August 03, 2006, 20:43:14 »
Quote
Comprehensive Perl Archive Network. The central Web repository for Perl modules and extensions.
Regards
Logged
█
Deleted Domains
█
Hostmaster Web Tools
█
Webmaster Web Tools
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Web Design and Graphics
-----------------------------
=> General
=> Web Design Discussion
===> Adobe Photoshop, Corel PhotoPaint or other Image editing software
===> Dreamweaver, FrontPage or other WYSIWYG software
=> Web Design Reviews
=> Design Contest
-----------------------------
Programming
-----------------------------
=> Databases
=> PHP
=> ASP
=> Javascript
=> Java
=> General Coding
===> Perl
===> .NET
-----------------------------
Search Engine
-----------------------------
=> Google
=> Yahoo
=> MSN
=> Other Search Engines
=> Web Directories
===> SMF Directory
-----------------------------
Domain Names
-----------------------------
=> Domain Name Discussion
=> Domain Appraisals
=> Expired Domains
-----------------------------
Server Related
-----------------------------
=> Forum/CMS Related
=> Apache/IIS
=> Security
=> Linux
===> General Questions
===> Installations
===> Desktop & Multimedia
===> System configurations problems
===> Kernel things
-----------------------------
The Webmasters Talks !
-----------------------------
=> General Discussion
===> Fun
=> Tools
===> Link Popularity
===> Google Datacenter Query
===> Google Backlinks Checker
===> Google Page Rank Checker
===> Html Validation
===> Alexa Rank Checker
===> SEO 4 SMF
=====> Showcase
=====> Joomla
=====> Bugs
=====> Features
=> New Member Introductions
=> Suggestions & Feedback
=> News and Announcements
Loading...